• Hello,

    I love this plugin and it works perfectly on another website I have.

    I was trying to implement it on the one I linked above and I have a couple of problems:

    – Bullets don’t show up.
    – For that category (it has 11 posts), it only shows 6… if I go to the second page, the archive shows 5 posts plus the same posts listed on the first page.

    I have the configuration, I have the numberposts set to -1 and the pagination “False”.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor zymeth25

    (@zymeth25)

    Hi

    The bullets do not appear because the default list styling of your Refined Pro theme has them disabled in its stylesheet. You would have to add your own custom CSS to fix it:

    .lcp_catlist li {
        list-style-type: disc;
    }

    Re your second issue, what shortcode are you using?

    Thread Starter rayuela1

    (@rayuela1)

    Thank you Zymeth, I’ll try with that code and I’ll tell you.

    Regarding the shortcode, just this: [catlist id=30]

    It has to list 11 posts. In AMP mode works fine, but not in the web.

    Plugin Contributor zymeth25

    (@zymeth25)

    Most probably another plugin is interfering with the post query, try disabling all other plugins and see how it goes.

    Thread Starter rayuela1

    (@rayuela1)

    Hi Zymeth, no… I disabled all plugins except this one: “Really Simple SSL” that forces the website to https. And still the same problem.

    Plugin Contributor zymeth25

    (@zymeth25)

    Please also try with the default theme (Twenty TwentyOne or similar) and let me know how it goes.

    Thread Starter rayuela1

    (@rayuela1)

    I am using 2020 in AMP (mobile) and works OK.

    Plugin Contributor zymeth25

    (@zymeth25)

    Well then it is clear that the Refined Pro theme adds some filters to post queries consequently changing the LCP output. A fix would require examining the theme’s code, finding the filter and disabling it. Maybe I can assist but not sure when I can find the tine to do it.

    Thread Starter rayuela1

    (@rayuela1)

    Do you want me to help with that?
    I am not an expert, but I can try to find the filter for you.

    For example, in the functions.php I found this:

    /**
     * Shows 6 Posts on categories.
     *
     * @since 1.0.0
     *
     * @param string $query Default number of posts to output.
     * @return string $query Modified number of posts to output.
     */
    function refined_posts_per_category( $query ) {
    
    	if ( is_category() ) {
    		$query->set( 'posts_per_page', 6 );
    
    		return $query;
    	}
    
    }

    It’s true that the archive page only shows 6 posts, like the category list. I can try to change it to 9, just to see what happen. I have installed also a plugin Myfunctions, as not to touch the main one. I can try to put this code there with a 9 instead a 6.

    In the archive.php, that (I think) is where the problem is, I didn’t find anything, but well, I have no clue hahaha…

    Plugin Contributor zymeth25

    (@zymeth25)

    Can you find all references to that function in the file and paste relevant lines here? Especially calls to add_action or add_filter.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘bullets not showing, limited posts’ is closed to new replies.