Tags » Shortcode

create shortcode and place anything inside

/* shortcode */
function display_my_shortcode($atts, $content, $tag){

//if called from the 'my_primary_shortcode'

if($tag == 'my_primary_shortcode'){
return '


Display 13 more words


Display WooCommerce Featured Products Without a Shortcode

Woocommerce Featured Product Shortcode Example is like this:

Obtaining The Featured Products Using WP-Query

$args = array(
'post_type' => 'product',
'meta_key' => '_featured',
'meta_value' => 'yes', 53 more words
Sanjay Triumph

Tinkering With Data Consuming Wordpress Plugins

Now that I’ve got my own webspace on Reclaim Hosting and set up a handful of my own self-hosted WordPress blogs, I started having a tinker with some custom plugins. 537 more words


Create shortcode to filter custom posts by category

This is an example to create a shortcode to filter custom posts by a specific category.

Right now i have a custom post type i.e. “phoeniixx_team” and a taxonomy “genre”. 227 more words

Sanjay Triumph