Wordpress help please? - Post ID 200568

User 404575 Photo


Registered User
887 posts

The actual site, in my browser as I view source.

This is currently implemented in Wordpress and hosted with Hostgator.

Melissa Rhiannon
OS Windows 10
User 187934 Photo


Senior Advisor
20,271 posts

Here's the problem. When you view the source code of a php page as right click view source in your browser your seeing what the php code is serving to the page. The php code is responsible for what gets displayed the the html will determine how it gets displayed. If you used the html editor to ftp the page to your pc and opened that page to view it in the editor you would see all the php code that's rendering the site. I think your question would be best asked on the Wordpress forum where somebody that uses it on a regular basis can at least point you in the proper direction on what you need to look for.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2733 Photo


Ambassador
426 posts

Try adding a really large image of an eagle to the page and see if that helps. :D
Let's not get all hurt.
User 2073552 Photo


Registered User
1,625 posts

David Sellers wrote:
Try adding a really large image of an eagle to the page and see if that helps. :D


Even though impolite. I do have to admit I find it funny.
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 404575 Photo


Registered User
887 posts

Hey, I busted my brain but finally figured it was in a template that I'd missed!

Take a look! http://aflowerpatchonline.com/front-office-3/

learned something here!
Melissa Rhiannon
OS Windows 10
User 187934 Photo


Senior Advisor
20,271 posts

So what did you learn? What solved the problem?:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 404575 Photo


Registered User
887 posts

It turned out I'd missed the reference to a store page template called store.php, which is referred to as the default for all the store pages. In there I found references to post numbers and category numbers. I had to experiment for awhile to find one that worked for the Front Office page:

if ($currpage == 385){$original_query = $query_string;
query_posts("&cat=4&paged=$paged");}

if ($currpage == 387){$original_query = $query_string;
query_posts("&cat=5&paged=$paged");}

if ($currpage == 389){$original_query = $query_string;
query_posts("&cat=6&paged=$paged");}

if ($currpage == 391){$original_query = $query_string;
query_posts("&cat=7&paged=$paged");}

if ($currpage == 393){$original_query = $query_string;
query_posts("&cat=8&paged=$paged");}

if ($currpage == 417){$original_query = $query_string;
query_posts("&cat=9&paged=$paged");}

if ($currpage == 395){$original_query = $query_string;
query_posts("&cat=10&paged=$paged");}

if ($currpage == 1225){$original_query = $query_string;
query_posts("&cat=21&paged=$paged");}


if ($currpage == 397){$original_query = $query_string;
query_posts("&cat=11&paged=$paged");}

if ($currpage == 399){$original_query = $query_string;
query_posts("&cat=12&paged=$paged");}

if ($currpage == 401){$original_query = $query_string;
query_posts("&cat=13&paged=$paged");}

if ($currpage == 413){$original_query = $query_string;
query_posts("&cat=3&paged=$paged");}

if ($currpage == 403){$original_query = $query_string;
query_posts("&cat=14&paged=$paged");}

if ($currpage == 406){$original_query = $query_string;
query_posts("&cat=15&paged=$paged");}

if ($currpage == 410){$original_query = $query_string;
query_posts("&cat=16&paged=$paged");}

if ($currpage == 734){$original_query = $query_string;
query_posts("&cat=19&paged=$paged");}
Melissa Rhiannon
OS Windows 10
User 187934 Photo


Senior Advisor
20,271 posts

Good old variables.:cool: Glad you figured it out.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 404575 Photo


Registered User
887 posts

Thanks Eric.
Melissa Rhiannon
OS Windows 10

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.