swissmiss07
Forum Replies Created
-
Forum: Themes and Templates
In reply to: is_front_page works in header, not footerThanks, aplijdi.
I tried a variation of your suggestion and the site is working fine now. I had to define the $myhomepage variable in index.php before it called get_header(). Then, I had to declare it as global inside the footer.php file (makes since, since that is called inside of a function).
Thanks again for your help!
Forum: Themes and Templates
In reply to: is_front_page works in header, not footerThe site is https://www.dmrins.com/. If you to the left and right of the brown stripe – just below the stock photos – you will see two short horizontal white lines. These should not appear on the other pages of the site. If you go to any other page on the site, you will see that they have been removed from the left side (which is controlled by header.php), but they still exist on the right side (which is controlled by footer.php)
If you view source on the home page, you will see some comments dated 2/26/09 and referring to FP. The first comment is generated by header.php. The second one is generated by index.php, and the third is generated by footer.php. They all use the same if statement
if (is_front_page()){echo ...}
Somehow, is_front_page returns true in header.php and changes to false in index and footer.php.Thanks,
JulieForum: Fixing WordPress
In reply to: Can I Enable Trackback for a Standalone PageHi Otto42. I created the pages on OpenSourceCMS’s demo installation of WordPress. They refresh it every two hours, so my samples are dead by now… sorry for the goose chase.
I don’t currently have a WordPress site. I want to verify that it meets my needs before i create the site using WordPress.
To clarify what i want to do: Have a super-interesting standalone page on my site. Give bloggers who find it noteworthy an option to trackback to it. Have a link (ie. View Comments) from my super-interesting page to another page on my site where people can view the backtracks/comments of the bloggers.
Any help will be greatly appreciated.
Thanks.
Forum: Fixing WordPress
In reply to: Can I Enable Trackback for a Standalone PageThanks whooami. I’m still having trouble. I want to be able to see who has sent trackbacks to my standalone page, but when i view the standalone page, i don’t see any trackback url or place to leave a comment.
Here’s what i have tried so far.
- Created a standalone page on the demo site and enabled comments and pingbacks Standalone page
- Created a blog post on the demo site. Post about standalone pages
- Sent a trackback from the blog post to the url of the standalone page.
Forum: Fixing WordPress
In reply to: Can I Enable Trackback for a Standalone PageHi Again. Could you refer me to a demo or other site that has trackbacks used on a standalone page please?
Thanks,
JulieForum: Fixing WordPress
In reply to: Can I Enable Trackback for a Standalone PageExcellent! Thank you HandySolo.