How to change style attribute of an element dynamically How can I change a style in the content (without having to change the content in all my pages)? To change all the <h3> tags to <h2>, add … [+]
How to get a parent page name Is there an easy way to retrieve the name of the parent page of a WordPress page? Add this code to your plugin or functions file: <?php /** * Get … [+]
Display content only for logged users How can I show content only for logged user or admin in my template? Depending on what you want to test, just add one of these snippets to your … [+]