Support » Plugin: Page-list » pagelist code in index.php page

  • Resolved paolo1967

    (@paolo1967)


    How can I insert the pagelist code in the index.php file of my website?

    This code it does’nt work

    [pagelist number=”3″ title_li=”<h2>New pages: </h2>” show_date=”created” sort_column=”post_date” sort_order=”desc” class=”page-list-cols-3″]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author webvitalii

    (@webvitaly)

    Hi @paolo1967

    Try to use this code:

    <?php echo do_shortcode( '[pagelist number="3" title_li="New pages:" show_date="created" sort_column="post_date" sort_order="desc" class="page-list-cols-3"]' ); ?>

    • This reply was modified 2 months ago by webvitalii.
    paolo1967

    (@paolo1967)

    Thank you so much, it works perfectly. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.