• Hi
    Had the problem that the content does always appear on top of the page and not where the shortcode was added in the Text. To fix the problem edit the plugin and replace the first 14 lines with the following code.

    Cheers

    <?php
    /*
    Plugin Name: Wunsch-Index.de Wunschlisten Widget
    Plugin URI: http://www.wunsch-index.de/wordpress.html
    Description: Bindet die eigene wunsch-index.de Wunschliste auf dem Blog ein.
    Version: 0.3
    Author: Marko Fritzsche
    Author URI: http://www.wunsch-index.de
    License: GPL2
    */

    add_action(‘widgets_init’, ‘wunschindex_load_widgets’);
    add_shortcode(‘wishlist’, ‘pre_wunschindex_load_wishes’);

    function pre_wunschindex_load_wishes($atts) {

    ob_start();
    wunschindex_load_wishes($atts);
    $output_string=ob_get_contents();
    ob_end_clean();

    return $output_string;

    }

    https://wordpress.org/plugins/wunsch-indexde-wishlists/

  • The topic ‘shortcode always appears on top of post’ is closed to new replies.