Rewrite Custom Post Type (CPT) Permalinks
add_filter( 'post_type_link', 'wpse16427_post_type_link', 10, 4 ); function wpse16427_post_type_link( $post_link, $post, $leavename, $sample ) { if(in_array($post->post_type, array('blog', 'news-article', 'action-funnel', 'bookmark','positon-camp'))) { $authordata =...
How to add custom login and logout links in the wordpress navigation or menu programmatically ?
You can add this code to your active theme's functions.php file. I would recommend you to use Child theme. The code checks if the user is logged in or not and if the current menu is the primary menu. Then, it adds the appropriate login or logout link to the menu...
Toolset vs PODS: A Comprehensive Comparison
When it comes to customizing and extending the functionality of a WordPress website, choosing the right plugin can make a significant impact on the development process. Two of the most popular options available are Toolset and PODS. Both plugins offer a range of...
How to create a Star Rating/Review/Feedback System with Toolset
This Module is purely built using Toolset No other plugins are requiredRequired Toolset plugins Types Views Access Forms Module Manager After you have all these plugins, then you need to go to main Toolset Import/Export menu and import the purchased ZIP file.KEY...
Toolset Conditionals not working in Divi Theme Builder Latest Version
Most of the users are facing this issue where the Toolset conditionals have suddently stopped working in Divi Builder. There is a technical reason behind it. So this is how conditionals were used earlier by most of you guys. OLDER WAY OF USING WPV TOOLSET CONDITIONALS...
How to add Pagination Functionality to Shortcodes Ultimate Plugin ?
HURRAY ! WE HAVE FIX FOR LATEST VERSION OF SHORTCODES ULTIMATE PLUGIN My old SNIPPET was free but it was not working with UPDATED versions of SU plugin and Wordpress. This SNIPPET now works with the latest version of Wordpress.I will Help you to add the...
5 Password Myths You Should Do Away with Today
Before you got to this piece today, you must have had to turn on your device, enter your password and then get surfing the web from where you found this piece. For something we do as often as interact with passwords, it is suspiring to note that we might not really...
How can i get only bottom level terms of a taxonomy or category in views?
How can i get only parent terms of a taxonomy ? This is a very popular question asked in many Wordpress forums and Toolset Support and as a result, i am going to write a code snippet. Lets assume, that the depth of taxonomy hierarchy is 3 and is explained by the...
Toolset launched Custom Types Training Course – Get 20% off on Toolset
Toolset has recently launched a "Custom Types Training" course for their users to know important techniques which could help them save time and produce better results. This course is mainly focused to let the users know about the power of "Custom Types". After going...
Redirect from a primary domain to its subdomain
Sometimes we find it really difficult to redirect from a main or primary domain to the subdomain of the same primary domain using .htaccess. For example if you want to redirect from http://www.lynda.com to http://new.lynda.com To achieve this, just grab this snippet...