Hi all, I’m a noob and I don’t know exactly what information is relevant. I apologize if I am giving too much or too little. I’m using:
PHP Version 5.3.17
I am using the featured posts slider option available with free template Stylus from newwpthemes dot com. All of the images appear correctly in the featured posts slider, but PHP returns the wrong permalink and title only within the code that links the image and sets the image title and only for the final three featured posts: The title that appears as a header and the permalink that links that title are both fine. It’s very strange. This started happening a couple months ago and I have not been able to link the start of the problem to any particular event.
The php code for featured posts slider is:
[Large chunk of code moderated]
Do you see how in the permalinks and titles of the first two featured posts, the link and title within the h3 header tags match the link and title just before the img tag, but in the last three featured posts, the link and title for the text are correct, but the link and title for image are wrong— PHP returns the permalink and title of the most recent post instead of the correct featured post. It’s almost like it loses its $i count and the category it is calling from, but only when it links the image.
This makes no sense to me! Any ideas? Please let me know if there is any more information needed or if I can make my question more clear. Thanks much.