Topic: Add shortcode to author template? | WP Masonry Layout

Add shortcode to author template?

Home Forums Pro Version Add shortcode to author template?

This topic contains 2 replies, has 2 voices, and was last updated by  DDDD 1 year, 8 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #8907 Reply

    DDDD
    Participant

    I want to add the shortcode to the author template so every author’s posts will be nicely displayed. Is there a way to do this so it to embed php code inside shortcode or manage it in some other way? Tks

    #8926 Reply

    Masonry Guy
    Keymaster

    Hi D,

    Ya it can be done. This is where our generic shortcode is needed. Once you have created Generic shortcode, you need to place that shortcode in your author handling template (most probably author.php).

    Please check this video and it explain about the generic shortcode creation and code placement. https://www.youtube.com/watch?v=ZFPhnysfRYk . In you case here please copy and paste shortcode in author.php

    Hope this helps.

    Thanks

    #8930 Reply

    DDDD
    Participant

    Ah, ok this makes sense. Very easy 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Add shortcode to author template?
Your information: