In my Facebook group, a user asked: Hey Sridhar. Can you consider a tutorial on how to create a real parallax effect with the background images on the landing page in Altitude Pro? You have a tutorial (https://sridharkatakam.com/add-parallax-background-header-…/) where you used stellar.js, and you made home-widgets-6 parallax. I’d like to have sections 1, 3, 5, […]
Useful functions for checking Pages and their sub Pages in WordPress
To check a Page by ID for that Page or its direct descendants (sub/child pages) Usage: if ( is_tree( 645 ) ) {} or to check by ID or slug or title: Usage: if ( is_child( 645 ) ) {} or if ( is_child( ‘Services’ ) ) {} or if ( is_child( ‘our-services’ ) ) […]
How to add a Continue Shopping button next to View Cart button in WooCommerce
Want to add a Continue Shopping button next to View Cart button after a product has been added to cart in WooCommerce? Follow along to see how wc_add_to_cart_message filter hook can be used for making this customization. We shall link the Continue Shopping button to the shop page. Before: After: Step 1 Add the following […]
Displaying a fixed number of posts in WordPress without Pagination
Scenario: Settings > Reading set to show 10 (or whatever number, doesn’t matter) latest blog posts (WordPress default). And you want to display just 3 Posts without links to next sets of paginated pages. So let’s just add this in functions.php: Simple, right? Apparently, that is not sufficient. When you reload your Posts page (the […]
Utility Bar in Centric Pro
In the members-only forum, a user asked: Hi Sridhar, you have several great tutorials for utility bars and I tried several of them on a new site I am building using centric pro but with no success. Anyway you can modify them to work with Centric Pro? thanks Like in the tutorial for Altitude Pro […]
How to replace sticky message widget with a navigation menu in Modern Studio Pro
A user in my Facebook group asked: Can you post a tutorial on how to create the fixed menu on this site – http://lovetaza.com/ on the Modern Studio Pro theme? In Modern Studio Pro widgets placed in Sticky Message widget area appear when scrolling down and fade away when scrolled to the top. In this […]
Default fallback for featured images on CPT archive and single pages in Genesis
In the members-only forum a user asked: Can you make a tutorial for setting a default featured image on a CPT in Genesis? For example, on a staff page when a staff member doesn’t have a profile picture available? To work in archives and single post. By adding the following code in child theme’s functions.php, […]
Sliding Primary Navigation in Enterprise Pro
In the members-only forum a user asked: I’m looking to modify the responsive menu in the Enterprise Pro Theme from StudioPress. I’ve inserted to screenshots from where I have got to so far… Responsive Menu Closed: http://s9.postimg.org/hptq5f3mn/responsive_menu_closed.png Responsive Menu Open/Active: http://s12.postimg.org/3qjlpwxsd/responsive_menu_open.png I would like to try and achieve a similar result as Brian Gardners personal […]
How to display Staff members on archive page grouped by Staff type in Genesis
In Facebook’s Genesis group, a user wrote: I need to split up the Staff into three different types – Staff, Facilitators and Interns. I’ve created three custom taxonomies for them, and figured out how to display one of them, but I am not sure how to display them all on one page, but separated into […]
Post Tags Shortcode in Genesis with Support for Tag Slug Classes
This is the equivalent of Post Categories Shortcode in Genesis with Support for Category Slug Classes but for tags instead of for categories. The idea is to create a custom shortcode for displaying post tags in which each tag link has the corresponding tag slug as a CSS class in the markup of the HTML […]
Recent Comments