If / else statements are programming language logic and is something that will help us create better Wordpress custom themes.
A client of mine, wanted to improve his Wordpress site and decided he wants to display different sidebar information depending on the page or section the visitor is.
For example, he wanted to have blog related links as: latest posts, categories and tags, being displayed only on blog section (blog index, categories view, single post view etc). On products/services page and its sub-pages, he decided he wants to have displayed the sub-pages of that section and other interesting links. The rest of the pages, should have only the interesting links section or generic information.
Filed under: Wordpress by Lucian Florian
No Comments »
BBpress Front Page Text for BBpress forum has been released and this post will serve as plug-in’s home page. The simple plug-in, adds a back-end option for administrators to add/manage content for forum’s front page. While the developers can easily add the text by diving in the back-end, the plug-in allows the the clients to easily update the content without being code savvy. It also helps if you need to update the front page text regularly.
Filed under: Wordpress by Lucian Florian
2 Comments »
The website speed and responsiveness are very important factors and this aspects should not be neglected if you want to have happy visitors.
There are many areas that should be improved for better website performance as: smart wise written (X)HTML/CSS, optimized images and minimal javascript.
On larger websites, you will have JavaScript, that needs to be loaded just on certain pages or areas from the website, without needing to load it and slow down those.
Filed under: Wordpress by Lucian Florian
9 Comments »
I have came across couple methods to display menu pages items in Wordpress including static one recommended by Wordpress, but none of it was suited for my clients needs, since you had to hack the code each time you added a new page. The method I will show you is absolute dynamic and your client or you, can display pages, subpages and highlight them dynamically.
Filed under: Wordpress by Lucian Florian
20 Comments »
Have you ever tried to show the title of a grandparent page, while you are on a subpage? Your search has ended because I am willing to share this information with you.
This is great for those who want to have a sidebar navigation with grandchildren pages (1+ subpages) and want to have all the time the grandparent page show up.
Filed under: Wordpress by Lucian Florian
17 Comments »
The Wordpress just alone cannot be used as a full content management system but with some good plugins, can be extended to some unimaginable functionalities. Here I want to present some of the plugins, that everybody should have for a specific situation.
Filed under: Wordpress by Lucian Florian
3 Comments »