Support Forum

Möchtest Du Moderator hier im Forum werden? Melde Dich einfach per eMail bei mir.
Wanna become a forums moderator? Just drop me an email.

Willkommen im Support Forum. Bitte nutzt das Forum für alle Fragen, Probleme und Fehlermeldungen rund um meine Themes. Ihr müsst dazu nicht registriert sein. Ihr könnt hier in Deutsch oder auch Englisch posten.

Welcome to the support forums. Please use this forums for any type of questions, bug-reports or any other related stuff concerning my themes. You don´t have to be registered to post in this forum.


Bevor Ihr im Forum postet, schaut nach, ob eure Frage nich schon einmal beantwortet wurde. Es werden keine Fragen zu grundlegenden WordPress Funktionalitäten beantwortet. Dafür gibt es die allgemeinen WordPress Foren und den unschlagbaren WordPress Codex. Außerdem empfehle ich zuerst die Tutorials zu lesen, da dort die meisten Fragen beantwortet werden. Für absolute Anfänger, die bisher wenig mit WordPress gearbeitet haben, empfiehlt es sich, ein paar Euro in das e-Book “Sites that Soar” von Aisling d´Art zu investieren. Das Buch erklärt den Aufbau einer Website anhand von BranfordMagazine Schritt für Schritt. Es ist zwar nur in englisch verfügbar, aber doch sehr einfach und verständlich.

Please make sure your question hasn´t been postet before. I will not answer questions on basic WordPress functionalities because there are general WordPress forums and the amazing WordPress Codex which do this job better. Check out the tutorials. Most of the questions will be answered here. For unexperienced WordPress useres I reccomend to purchase the e-book “Sites that Soar” by Aisling d´Art. This book shows a step-by-step how-to build up a website using WordPress and BranfordMagazinne.

This e-book is highly recommended for new WordPress users
who want to use BranfordMagazine:

Get the e-book 'Sites that Soar'



Ich stehe für individuelle Programmierarbeiten, oder Themeanpassungen zur Verfügung. Bei Interesse schickt mir einfach eine eMail an support[at]der-prinz.com. Bitte lest zuerst die “Forumsregeln” bevor Ihr postet.

I am available for freelance programming or theme customization. If you are interested just drop me an email at support[at]der-prinz.com. Please read the “forum rules” before you post.



Current User: Guest Login Register
Please consider registering

Search 
Search Forums:


 




Bug in index.php in case of WP installed not in root

Add a New Topic Reply to Post
UserPost

09:53
17. May 2008


Michael Oeser

Admin

posts 539

Of course it´s not a bug…it´s a feature ;-)

13:21
15. May 2008


lms

Guest

Oh,

And the same goes to the file: ui.tabs.php so images will show on “Lead Article” section.

17:29
13. May 2008


lms

Guest

My themes version: BranfordMagazine 2.51

My WP Version: 2.3.3


If found what I think is a bug:


I have WP instaled in a subfolder named wp - like: http://www.mysite.com/wp

So in installation I followed the instructions from WP: In Options -> General I filled

WordPress address (URL) : http://www.mysite.com/wp

Blog address (URL): http://www.mysite.com


That's the correct thing to do.

The thing is, in the “Featured Articles” the image did't show up, because the theme was looking for it on http://www.mysite.com/wp-content/myimage.jpg instead of http://www.mysite.com/wp/wp-content/myimage.jpg


———

I spent a lot of ime on this until I found that in the file (from the theme) index.php the line that fetches the images goes like this:

<a href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo('url'); echo '/'; echo get_option('upload_path'); echo '/';

———


It means it is geting the path of the 'Blog Address' instead of the 'WordPress address'. I changed the code to this:


———

I spent a lot of ime on
this until I found that in the file (from the theme) index.php the line
that fetches the images goes like this:

<a
href=”<?php the_permalink() ?>” rel=”bookmark” title=”Permanent
Link to <?php the_title(); ?>”><img src=”<?php bloginfo('wpurl'); echo '/'; echo get_option('upload_path'); echo '/';

———


And now it works pretty well.


So here's the tip for everyone else with the same problem, and for the programmers.


PS: By the way: excelente theme, congrats Wink


[Image Removed by User]

Add a New Topic Reply to Post


Reply to Topic: Bug in index.php in case of WP installed not in root
Please make sure your support question wasn´t posted (and answered) before. Please use the forums search to avoid double posts.

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 9 + 11        (Required)

Topic Reply:


 

About the DER PRiNZ forum

Currently Online:

Daishi

11 Guests

Maximum Online: 22

Forums:

Groups: 4

Forums: 9

Topics: 362

Posts: 1502

Members:

There are 166 members

There are 218 guests


Michael Oeser has made 539 posts

Top Posters:

dnrothwell - 27

smilepak - 25

Daishi - 22

staland - 9

njmotocross - 8

Administrator: Michael Oeser | Moderators: Michael Oeser, Daishi


© Simple:Press Forum - Version 3.1.3 (Build 356)  


Readers voices

  • Thomas: Clean & lean, sieht schick aus. Probier ich mal auf WP 2.6 um ein Portfolio...
  • Rakhmat Ichsan: very nice template.. very well done…
  • Dimitri: Hallo Michael, danke für diesen Bericht, ich bin selbst seit mehr als 15...
  • Joachim: I love this theme!
  • Larry: Amazing, amazing theme! Thank you for giving such a premium template for free....

Featured

    Get my brandnew theme WyntonMagazine - Ready for localization. Additional features.

  • WyntonMagazine WordPress theme
  • Get my theme BranfordMagazine - English, German and other languages available.

  • BanfordMagazine WordPress theme
  • Get the e-book "Sites that Soar" - New version out now More info

  • Get the e-book 'Sites that Soar'

Spenden / Donate

    Falls Ihnen meine Arbeit etwas Geld wert ist. / If you feel my work is worth a little money.