• Hello.

    What is the best way to use the [wp_rss_multi_importer] shortcode on a wordpress site’s home page? I tried the do_shortcode code below with some success but the formatting and other items were off. I could use ‘Feed to post’ for the home page but I was more interested in using shortcodes.

    Also, when using the shortcode, are the feeds actually downloaded to your site like ‘Feed to Post’? Thank you.

    <?php echo do_shortcode(‘[wp_rss_multi_importer]’); ?>

    https://ww.wp.xz.cn/plugins/wp-rss-multi-importer/

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

    (@amweiss98)

    First, the shortcode pulls the feed in real time and are now downloaded to your site. Second, why don’t you just put the shortcode on the home page, without the php, like this

    [wp_rss_multi_importer]
    Thread Starter Jacksonstout

    (@jacksonstout)

    Thank you for the response Allen.

    I’m torn between shortcodes and feed to post…
    I LOVE the easy,awesome formats of the shortcode and how easy it to try different options. However, I want my site’s search feature to include the source feeds and I’m concerned that real time/shortcode will affects the performance of the source sites and even the target site (although I’m not sure this is warranted).

    Did I read that you have a Beta version that includes using shortcodes but they are written to a database instead of being downloaded real time? Maybe this is the best of both world.

    If not, it sounds like ‘feed to post’ is the way to go. I’ll use ‘give me everything’ so I can change how things are displayed over time without having to download posts again. I’ll be sourcing at least 30 targets that generate about 8 total posts per day. Does this sound good?

    As an aside, regarding your second point…
    When I add [wp_rss_multi_importer] to index.php, I just get “[wp_rss_multi_importer]” to show on the home page. Placing the shortcode in a post displays the feeds on the homepage, but formatting is challenging (things can go into the right menu). “<?php echo do_shortcode(‘[wp_rss_multi_importer]’); ?>” placed in index.php works but like the post approach formatting is challenging.

    Thank you!

    Plugin Author Allen

    (@amweiss98)

    if you want to try the beta version, you can get that here:

    https://dl.dropboxusercontent.com/u/3132388/beta/wp-rss-multi-importer.zip

    it sounds like your problem with shortcode is the way your site is configured. Take a look at this page to see what might be going on:

    http://www.fastsecurecontactform.com/problem-shortcode

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

The topic ‘shortcode on homepage’ is closed to new replies.