To display all categories in a single post or page, add the following code into functions.php. Usage: Now create a page and the add the following shortcode: [categories].
We have earlier shared “How to Add Widgets to Homepage of Genesis theme”. Now we are sharing a similar guide, “how to add widgets in frontpage of any genesis theme” so that it become a magazine theme.
By default the Secondary Menu in Genesis Sample theme is placed inside Footer section. To relocate this menu to below the site header we need to follow the steps as mentioned below.
But there are many posts which have already been indexed by google search engine as AMP version will no longer work resulting a 404 error or “Page Not found” error.
Add the following code inside the Genesis theme functions.php file: $post_info = ‘Updated: [post_modified_date] by [post_author_posts_link] [post_comments] [post_edit]‘;
Now, we cache our sites in a simpler and better method. We use a wordpress plugin named Simple Cache. And we shall order Nginx server to serve the cached content bypassing the database query and PHP.