• Resolved mcbmcb0

    (@mcbmcb0)


    hello
    while [pagelist] works fine,
    [pagelist child_of=”2″] does not – shows itself as text and does not return as a shortcode.
    this is on standard wp theme 2021, wp 5.7.2
    any ideas?
    thanks

Viewing 1 replies (of 1 total)
  • Thread Starter mcbmcb0

    (@mcbmcb0)

    ok one minute after asking this, i have the answer.
    the stupid visual editor was adding `<code>’ tags inside the shortcode brackets so this was in the db:
    [<code>pagelist</code><code>child_of="2"</code>]

    editing as raw text solved the problem. I guess this happens on all shortcodes.
    also worth noting i can’t display the actual code tags added accurately as this editor also keeps modifying what i type. gotta love wp for its time-saving eficiencies!

    now works fine.

    • This reply was modified 3 years, 9 months ago by mcbmcb0.
    • This reply was modified 3 years, 9 months ago by mcbmcb0.
    • This reply was modified 3 years, 9 months ago by mcbmcb0.
Viewing 1 replies (of 1 total)
  • The topic ‘arguments not working on 2021 theme’ is closed to new replies.