In the members-only forum, a user asked: Hi Sridhar, I wonder if itβs possible to change the genesis breadcrumbs function to use the menu label instead of the page title β (without using a plugin like Yoast or Nexxt Breadcrumbs)? β So far, all my searches have come up mostly empty. The only two somewhat […]
Sticky Side Section in Genesis
Update on March 26, 2017: Added steps for positioning the sticky at the right edge of the browser. This tutorial provides the steps to display a vertical tab to the left side of browser edge in Genesis which when clicked, will slide out a side panel having widget(s) of a custom widget area. Clicking on […]
Skeleton to change widgets markup in Genesis
Ever wondered on a lazy Sunday afternoon as to where the HTML markup of widgets comes from in your Genesis site? I did, the last weekend and learned that there are two filters genesis_register_sidebar_defaults – for backward compatibility genesis_register_widget_area_defaults that Genesis provides to alter the widgets’ markup. Below is the skeleton or boilerplate code using […]
How to allow oEmbed parsing in MemberPress excerpts
MemberPress is my plugin of choice for memberships and is what I use on this site. In your MemberPress settings, if you have set an excerpt to appear for unauthorized visitors, YouTube video URLs and links to tweets will appear as is and will not get parsed by WordPress’ oEmbed unless the following is added: […]
How to add a custom class to taxonomy archive description in Genesis
By default taxonomy description element in Genesis has these classes: archive-description taxonomy-archive-description taxonomy-description If you’d like to add a custom class to the above list, add the code given below in child theme’s functions.php. To view the full content, please sign up for the membership. Already a member? Log in below or here.
Using pre_get_posts to set the type of posts appearing on a Tag archive in WordPress
Want to show 2 entries of a journal CPT on economics tag archive page? Add the following in child theme’s functions.php: add_action( ‘pre_get_posts’, ‘sk_change_tag_term_archive_query’ ); /** * Set only Journal CPT entries (two of them) to appear on Economics Tag Archive * * @param object $query data. */ function sk_change_tag_term_archive_query( $query ) { if ( […]
How to modify loop hooks properly with genesis_custom_loop()
Genesis comes with a useful function called genesis_custom_loop() to output elements like entry header, entry content and entry footer when you want to write a custom query. If you would like to make any changes like showing/hiding certain elements in the loop or moving them around, it is not sufficient just to do so and […]
How to order entries by title on Portfolio CPT archive in WordPress
In the members-only forum, a user asked: I use Genesis Portfolio Pro on this site: http://weinschardt.de/portfolio I have tried different Plugins to sort the Portfolio but nothing works. How can I get the Portfolio to sort alphabetically? The default ordering of entries for any post type in WordPress is by published date in descending order. […]
How to set up SVG logo in Genesis
Looking to use a crisp vector svg file as your site’s logo instead of the standard png? There are two ways in which SVG logos can be set up in your Genesis powered WordPress website: As a background As an inline image Prerequisite For either method, first, install and activate SVG Support plugin. Then go […]
How to change the number of columns from 2 to 3 or more in Minimum Pro’s Portfolio Page
The Portfolio CPT archive page in Minimum Pro displays Portfolio entries in 2 columns out of the box. If you are looking to change these to appear in 3 or 4 or 5 or 6 columns, follow these steps: Step 1 Edit Minimum Pro’s archive-portfolio.php. Replace //* Add even/odd post class add_filter( ‘post_class’, ‘minimum_even_odd_portfolio_post_class’ ); […]
Recent Comments