Template Tag Shortcodes
Unable to add more than one parameter... (2 posts)

  1. Diesel12
    Posted 5 years ago #

    I've noticed that if I insert a short code for say, wp_list_pages, that if one parameter is entered, it will work correctly, but if two or more parameters are entered, they are all ignored... Example: wp_list_pages show_date="post_date"&sort_order="DESC" ... I've tried with and without quotes around the parameter variable...

    Either parameter will work by itself, but neither work when they are added together....

    I've also noticed this is the case with other tags as well...

    Am I doing something wrong?


  2. Rami Yushuvaev
    Posted 5 years ago #

    try this one:

    [wp_list_pages show_date="post_date" sort_order="DESC"]

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Template Tag Shortcodes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic