WordPress.org

Ready to get started?Download WordPress

Forums

List Pages Shortcode
[resolved] H2 in title_li? (4 posts)

  1. w1n78
    Member
    Posted 2 years ago #

    i can't seem to get the following to work

    [list-pages child_of=41 title_li=<h2>' . __('Hello World') . '</h2>]

    http://wordpress.org/extend/plugins/list-pages-shortcode/

  2. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    You would need to use:
    [list-pages child_of=41 title_li='Hello World']

    In the next release you will be able to use HTML:
    [list-pages child_of=41 title_li='<h2>Hello World</h2>']

    You cannot incluce PHP such as __('Hello World')

  3. w1n78
    Member
    Posted 1 year ago #

    ok thanks

  4. Ben Huson
    Member
    Plugin Author

    Posted 1 year ago #

    New version 1.5 is now available.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.