Support » Plugin: WP Show Posts » WP show posts and Polylang

  • Resolved rom1our


    Hi Tom,
    I detected an interesting thing between WP show posts and Polylang. If I define the post IDs in one language and insert the shortlink, Polylang automatically shows the correct post in each language. In my case, I defined the IDs in German and I found that on the English pages it shows the posts in English, on the Italian pages in Italian. The only thing is the “read more” text. I don’t find the field in the Polylang string translations. Polylang therefore shows in the English/Italian post the German text for “read more”. It seems, the free version of WP show posts is not compatible multilingual with Polylang. Is this only available in the Pro version?
    I have the GP premium already and it’s a great theme. The integration with Polylang in wp show posts and some styling would make my life much easier and would be really an added value for me.

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

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Tom


    Hi there,

    Thanks for pointing this out! WPSP gets the read more text from the settings instead of using a translatable string. I’m not sure if this is something we can fix in the plugin without providing read more text by default (currently there is no read more button by default).

    One thing you can try is setting the default:

    add_filter( 'wpsp_defaults', function( $defaults ) {
        $defaults['read_more_text'] = __( 'Read more', 'wp-show-posts' );
        return $defaults;
    } );

    Let me know if that does the trick or not 🙂

    BTW, I’d love any help you can provide when it comes to Polylang and Elements in GPP. I read your updated review, and would love to fix any gaps there. We’ve worked with WPML to fix any incompatibilities, but I haven’t had any communication with Polylang yet.


    Hi Tom,
    I confess, I have no idea. I tried to insert the code in functions.php child, but have not seen any change. What shall be the expected result? For now I’ve solved using simply “->” and in some cases I leave it empty.
    I had a look into the string translation editor of Polylang and I found there is already a read more string by GPP, why don’t you use that?
    In total, there are two GPP strings in the Polylang editor.

    I know, Polylang talks little. I can try to make a request.
    The only thing I observed is that Elements seems not to be seen as post type in WordPress. Screenshot But I have no idea if Polylang would then automatically add the language switcher to the editor.

    Plugin Author Tom


    I just did some looking into Polylang and I can’t figure out how to include a custom field in a post type to be translated. I wonder if it’s worth asking the Polylang support team? I’d be happy to add any necessary compatibility code inside WPSP if it’s necessary.

    As for Elements, this is what it looks like in GPP 1.8:

    I was going to release the beta yesterday, but we were waiting on the WPML team for confirmation. We’re now going to release the beta on Monday. Feel free to shoot me an email if you want to test it before that.

    Hi Tom,
    this looks good. If it helps, I can test it with Polylang.
    I have just one more question about WPSP:
    I made this request here about lining up title, image and text in a way that it looks equal and image not moved up and down depending of the number of rows of the title.
    I had a look on the video of the pro version but I can’t figure out if this is available there because the sample titles are all short and on one row.
    I tried to change title length of the pages and posts, but this has its limitations as sometimes there are long words, short words, German compound words, and depending on the browser width the line break is different. I started also to use ­ in titles :-). To explain it better, I prepared a screenshot
    The page of the screenshot is

    • This reply was modified 3 months, 1 week ago by  rom1our.
    • This reply was modified 3 months, 1 week ago by  rom1our.
    Plugin Author Tom


    Would love if you can test it.

    That’s a tough problem to solve. Something like this might do it:

    .wp-show-posts-entry-title {
        line-height: 1.5em;
        min-height: 4.5em;

    For example, 3 * 1.5 = 4.5. Might do the trick?

    Let me know 🙂

    Perfect, it works. Would it be possible to address single pages/posts in Elements?
    For the test, you can send link or zip to
    Thank you 🙂

    Plugin Author Tom


    What about the single pages/posts exactly?

    Any chance you can shoot us an email through our Account Issue form?:

    I’ll get the alpha sent to you.

    Thanks! 🙂

    Hi Tom,
    about Elements, I found already how to.
    Thank you for all the help.

    Plugin Author Tom


    Awesome. Hopefully GPP 1.8 solves any translation issues you’ve run into. I’d love to turn that review back around 🙂


    Hi Tom, sure. Looked into but no α found

    Plugin Author Tom


    I released 1.8-alpha.1 today:

    You should be able to get it inside your account now 🙂

    Hi Tom,
    the language switcher is there in Elements now. So I’m confident that’s working. One thing I would like to test is about the location rules. If I insert a page in the first language this rule will automatically apply to the other languages (as it does for the Post IDs in WPSP).
    My test site is too small for deeper testing. I would like to test it on my live site.
    Just to be safe, if something should go wrong, how can I go back to 1.7.8?

    Plugin Author Tom


    If you need to switch back, you can download 1.7.8 inside your account, and then manually upload it:

    Sorry, I forgot that it is a plugin and not a theme and
    Yesss! It works! 🙂

    Plugin Author Tom


    Great news! Thanks for testing 🙂

Viewing 15 replies - 1 through 15 (of 15 total)
  • You must be logged in to reply to this topic.