Support » Plugin: Network Posts Extended » conflict with a plugin of “Visual Sidebar Editor”

  • Resolved EvgenBest

    (@evgen81)


    Hi!
    Once again I want to express gratitude for an excellent plug-in! Make favor, check it for the conflict with a plug-in of “Visual Sidebar Editor”. To version 0.3.2. there are no problems (now I use this version). The subsequent versions distort styles.

    version 0.3.8
    version 0.3.2.

Viewing 15 replies - 16 through 30 (of 36 total)
  • Thread Starter EvgenBest

    (@evgen81)

    [netsposts exclude_blog=4 taxonomy=analitika-i-obzory date_format=d.m.Y. show_author=true thumbnail=true size=imglist image_class=alignleft auto_excerpt=true excerpt_length=80 include_link_title=true wrap_title_start="<div class='title-class'>" wrap_title_end="</div>" wrap_text_start="<div class='text-class'>" wrap_text_end="</div>" paginate=true list=10]

    Plugin Author johnzenausa

    (@johnzenausa)

    Are there line-breaks to the shortcode where you paste it?

    Thread Starter EvgenBest

    (@evgen81)

    Plugin Author johnzenausa

    (@johnzenausa)

    Let me have a copy of your theme. Send it to the same email address as in earlier in this post or comment on the support ticket and upload it there. Your theme as a <div class="row"></div> that is set to flex row and you have three distinct columns set up on the theme. That’s why they seem to be going side by side. Don’t know why the other plugin isn’t causing the same problem. But if I have the theme also I can work on it on my site.

    • This reply was modified 6 years, 4 months ago by johnzenausa.
    Thread Starter EvgenBest

    (@evgen81)

    I sent the used theme.

    Plugin Author johnzenausa

    (@johnzenausa)

    [netsposts exclude_blog="4" taxonomy="analitika-i-obzory" date_format="d.m.Y." show_author="true" thumbnail="true" size="imglist" image_class="alignleft" auto_excerpt="true" excerpt_length="80" include_link_title="true" wrap_title_start="<div class='title-class'>" wrap_title_end="</div>" wrap_text_start="<div class='text-class'>" wrap_text_end="</div>" paginate="true" list="10"]

    Try installing the above shortcode and see it if makes a difference. If it doesn’t I’ll checkout the other one further.

    Plugin Author johnzenausa

    (@johnzenausa)

    Forget it I see the problem. Your sidebar plugin adds line breaks to the shortcode and it shouldn’t. This is what it changes the above shortcode into.

    [netsposts exclude_blog="4" date_format="d.m.Y." show_author="true" thumbnail="true" image_class="alignleft" auto_excerpt="true" excerpt_length="80" include_link_title="true" wrap_title_start="
    <div class="title-class">" wrap_title_end="</div>
    " wrap_text_start="
    <div class="text-class">" wrap_text_end="</div>
    " paginate="true" list="10"]

    See the line-breaks. You’ll have to use the standard widget area to add it. Can you write to the plugin author in codecanyon and show him what his plugin does to this shortcode? That is an error on his side actually.

    Plus that plugin converts single quotes to double quotes. I’ll see if I can fix it but I think that author needs to find out also.

    • This reply was modified 6 years, 4 months ago by johnzenausa.
    • This reply was modified 6 years, 4 months ago by johnzenausa.
    Plugin Author johnzenausa

    (@johnzenausa)

    Forget the last code I uploaded, try this code instead:

    [netsposts exclude_blog='4' taxonomy='analitika-i-obzory' date_format='d.m.Y.' show_author='true' thumbnail='true' size='imglist' image_class='alignleft' auto_excerpt='true' excerpt_length='80' include_link_title='true' wrap_title_start='<div class="title-class">' wrap_title_end='</div>' wrap_text_start='<div class="text-class">' wrap_text_end='</div>' paginate='true' list='10']

    As you can see I use double quotes inside the div tags and single quotes on the outside.

    It’s because that plugin automatically converts the single quotes to double quotes inside the div tags. This setup worked on my test site. Plus WordPress no longer regards version 0.3.2 as secure since I implemented patches to be compatible with wordpress 4.8.3.

    • This reply was modified 6 years, 4 months ago by johnzenausa.
    Plugin Author johnzenausa

    (@johnzenausa)

    0.3.2 works fine because there was another shortcode extraction function.

    That function is unsafe and not recommended by WordPress documentation.

    I forgot I switched to the current one in 0.3.3.

    Thread Starter EvgenBest

    (@evgen81)

    In appearance, the issue is closed. I changed the code everywhere using quotation marks, as you described. Thank you!

    The issue with the withdrawal of posts by category is open. You write that the function was changed, but on the plug-in page I see that the function of the “taxonomy” is indicated for the output of the category posts. Why, when specifying the taxonomy analitika-i-obzory, posts from the category “osnovnaya” are displayed?

    • This reply was modified 6 years, 4 months ago by EvgenBest.
    Plugin Author johnzenausa

    (@johnzenausa)

    This is going to sound redundant but can you change the single quotes around taxonomy back to double quotes and see if that fixes the problem? That is make taxonomy='analitika-i-obzory' look like taxonomy="analitika-i-obzory".

    Plus could you give me the ID numbers of the categories.

    • This reply was modified 6 years, 4 months ago by johnzenausa.
    Thread Starter EvgenBest

    (@evgen81)

    did not help

    Plus could you give me the ID numbers of the categories.

    extra posts from the main category, on all sites is id = 1
    I have reserved you the rights of a super administrator, you can see the id of all categories yourself

    Plugin Author johnzenausa

    (@johnzenausa)

    This plugin works by fetching the posts from categories by ID. How many of your blogs share that category name? Plus the wrong category that is being fetched is it on the same blog as the category you want?

    If it is check to see if they have the same ID number also.

    Plugin Author johnzenausa

    (@johnzenausa)

    I can login to the test site but not your site. You may respond via the support ticket we have created with the login for your main site.

    Plugin Author johnzenausa

    (@johnzenausa)

    @evgenbest

    I’m going to be gone for a week. Since you are including a taxonomy remove exclude_blog='4' and use this instead include_blog='blogIDnumberThatContainsTaxonomy' so if the blog has ID number of 2 it would look like include_blog='2'. Let me know if this helps.

Viewing 15 replies - 16 through 30 (of 36 total)
  • The topic ‘conflict with a plugin of “Visual Sidebar Editor”’ is closed to new replies.