Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Andrew Munro

    (@sumobi)

    How have you added the shortcodes? Can you show me a screenshot?

    Thread Starter creoadmin

    (@creoadmin)

    Plugin Author Andrew Munro

    (@sumobi)

    You have a front page template, is that set up to show content from the WP editor? I.e if you type anything else into the editor, does that show up?

    Thread Starter creoadmin

    (@creoadmin)

    It does not.

    Should I try editing the front page php? Is there a way to add this plugin with coding?

    Plugin Author Andrew Munro

    (@sumobi)

    Should I try editing the front page php?

    Yes, you’ll need to edit your template file to allow the contents of the WP editor to show when using this template. This is why the Affiliate Info add-on is not showing anything, and why adding anything else does not appear. As a quick test, place the shortcodes on another page where you know the content can be displayed.

    Is there a way to add this plugin with coding?

    I don’t quite understand what you’re asking sorry. If you fix the template everything will work as intended.

    Thread Starter creoadmin

    (@creoadmin)

    Thanks!! I was just asking what I should add to the php file to get this information to show.

    I only saw short codes in the documentation.

    Plugin Author Andrew Munro

    (@sumobi)

    Gotcha. Have a look at some of your other files in your theme, such as your page.php file or index.php. Find the code that has the “loop” (generally starts with if ( have_posts() ) ) and copy it to your template that isn’t showing it. Or, contact your theme’s developer for assistance.

    Here’s how The Twenty Seventeen shows the content, yours will vary slightly:
    https://github.com/WordPress/twentyseventeen/blob/master/index.php#L34-L60

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Affiliate Info Not Showing’ is closed to new replies.