• I wanted to make a page with a list of all categories listed in alphabetical order. With the help of your plugin I did just fine.

    <?php wp_list_cats('sort_column=name&sort_order=asc'); ?> worked

    but <?php the_tags(); ?> doesn’t work,
    neither <?php the_tags('<ul><li>','</li><li>','</li></ul>'); ?>

    <?php the_time('l, F jS, Y') ?> and <?php echo '<p>Hello World</p>'; ?> – works too ??

    but no success for the tags code…

    Any ideas?

    Thank you for the plugin, hope for further development.

Viewing 1 replies (of 1 total)
  • Plugin Author Alex

    (@alexander_fuchs)

    I am not really sure why <?php the_tags(); ?> is not working, but I guess the function is not available for execution in shortcodes.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP code in WordPress pages in posts’ is closed to new replies.