WordPress.org

Ready to get started?Download WordPress

Forums

Feedweb
[resolved] Widget Showing at top instead of bottom (5 posts)

  1. seattleteamgear
    Member
    Posted 9 months ago #

    I selected the option to display the widget at the bottom of my posts but it's displaying at the top. I'm using a Weaver II theme and I'm guessing that's most likely the issue?

    http://wordpress.org/plugins/feedweb/

  2. Feedweb Research
    Member
    Plugin Author

    Posted 9 months ago #

    Hi seattleteamgear,

    Please send us to contact@feedweb.net the following information:
    1. The current version of WordPress you use.
    2. The version of Feedweb plugin.

    The most probable reason for the problem is that the plugin settings are not saved properly. If you are using the latest version of the plugin, please go to your Dashboard->Plugins->Editor, choose Feedweb (file feedweb.php), find function ContentFilter, and comment out 2 following lines in the bottom of the function:

    /*
    if ($data["widget_place"] == '1') // Place on top
    return $code.$content;
    */

    If the change does not help, please write to contact@feedweb.net and we will try to fix the problem together.

    Best Regards,
    Michael
    Feedweb Research

  3. seattleteamgear
    Member
    Posted 9 months ago #

    Hi Michael,

    The version of WordPress is 3.71 (your form asks for that by the way)
    The version of Feedweb is 2.3.3

    I tried commenting out the two lines which I found with no problem and it's still displaying at the top of the post. I was just looking at my test post again to explain where it's showing and now I know what the problem is. It's not showing at the top of the post. I use Popshops to add affiliate shops to my posts and feedweb is displaying above the Popshop, which is also set to show up at the bottom of the post. I wish there was a way to control the order of plugins that want to display at the bottom of the post. Not your problem, but if you can think of a way to make yours go underneath another plugin that also wants to be a the bottom of a post I'm interested.

  4. Feedweb Research
    Member
    Plugin Author

    Posted 9 months ago #

    Hi seattleteamgear,

    You can change the internal order of execution by replacing the following call in feedweb.php:
    add_filter('the_content', 'ContentFilter');
    to
    add_filter('the_content', 'ContentFilter', 100);

    The number is the relative priority of the plugin in the WordPress execution queue. The default is 10 ( see http://codex.wordpress.org/Function_Reference/add_filter ).

    By changing the number to 1-9 you put the plugin on top, and a number > 10 moves it to the bottom.

    Here is a useful link about the issue:
    http://wordpress.org/support/topic/how-to-change-plugins-load-order

    Good luck and keep us updated,
    Michael
    Feedweb Research

  5. seattleteamgear
    Member
    Posted 9 months ago #

    Thank you for all your help! I researched and figured the solution would be something like this, but there's no way I could have fixed it on my own. Thank you again!

Reply

You must log in to post.

About this Plugin

About this Topic