• Resolved theconsigliere5

    (@theconsigliere5)


    Hi,

    Trying to make the shortcode work within the index.php file, the plugin is within the themes plugin folder, I’m using the code below. I did test the shortcode within the website and it worked like a dream just having difficulty now I have moved it to the hardcoded index.php file

    <?php echo do_shortcode(“[rotatingtweets screen_name=’KirkHills’]”);?>

    any ideas?

    thanks

    Max

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Martin Tod

    (@mpntod)

    Seems to be working now. What did you do?

    What happens if you put Rotating Tweets into the regular plug-ins folder?

    Best wishes,

    Martin

    Thread Starter theconsigliere5

    (@theconsigliere5)

    I put the plugin into the regular plugins folder and reactivated the plugin, all sorted now, is there a way you can display 3 posts at a time?

    Thanks Martin

    Max

    Plugin Author Martin Tod

    (@mpntod)

    [rotatingtweets screen_name='kirkhills' rotation_type="carousel" carousel_horizontal=1 carousel_count=3 carousel_responsive=1] should work!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode not working in template files’ is closed to new replies.