Viewing 1 to 6 of 6 items
Sidebar menu with a child pages regardless of depth – WP Engineer
This article was taken from WP Engineer: http://wpengineer.com/display-always-subpages-in-sidebar/ In this article I want to show an example in which are the main pages in a horizontal navigation. The related sub-pages are displayed in the sidebar when you click on the main page. For better understanding we take the following page structure: Home Software Image Editor Full Article…
Conditional CSS with PHP
I used this snippet of code to set a different css class or id based on the page template. It could be modified to be conditional based on being the the home page as well. Also note that is had to be put in the code/document as a single line for it to work…..don’t know Full Article…
Display A Greeting Message On A Specific Date, Season or Occasion
The following code will dispaly a greeting message only on Christmas day.