• Resolved ravi4uever87

    (@ravi4uever87)


    I recently installed a new theme in my wordpress site and it is working nice but there is problems i am facing with this theme, I will be highly obliged if someone from this forum could help me in solving my problem
    1. whenever any reader of mine want to see post category-wise , he/she can see only last three post even though i am having so many other post in that category
    I tried to look in the code of the theme to but unable to find anything there…

    Plzz help
    Thank in Advance !!!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Can you provide a link to your site?
    Without knowing what theme you are using, it’s hard to know what’s going on.

    Thread Starter ravi4uever87

    (@ravi4uever87)

    I am really sorry
    here is the link for my website (you can see only three posts are showing category-wise):
    https://www.freekaamaal.com

    and here is the Link for the theme i am using:Theme link

    Thanks in advance !!!

    On line 616 of the functions.php file, I can see this:

    function my_post_limit($limit) {
    	global $paged, $myOffset;
    	if (empty($paged)) {
    			$paged = 1;
    	}
    	$postperpage = 4;
    	$pgstrt = ((intval($paged) -1) * $postperpage) + $myOffset . ', ';
    	$limit = 'LIMIT '.$pgstrt.$postperpage;
    	return $limit;
    } //end function my_post_limit

    Perhaps try changing $postperpage to a larger number?

    Thread Starter ravi4uever87

    (@ravi4uever87)

    @christine Thanks for such a quick reply ..but unfortunately even after changing “Postperpage” to larger no. , category-wise post remains 3
    Any other suggestions ???

    What about under your settings > reading.

    How many blog posts to be displayed is it set to?

    Thread Starter ravi4uever87

    (@ravi4uever87)

    PROBLEM SOLVED ??
    wow!!! this was a big mistake from my side…i was searching all over internet,reading every single line of the code and solution was always in front of my eyes

    Thanks Cristine…I didnt even know that WordPress has any option of setting post per category..I have changed the reading setting and now everything is fine…

    A big thanks for helping me !!!

    Thread Starter ravi4uever87

    (@ravi4uever87)

    @christine
    There is one more problem i am having ..may be you can help me with that…some of my blog readers have reported that they are not able to see my website correctly..i mean they face some kinda resolution problem..but thing is this ,i have tried my website in many browsers and it is working fine for me..

    Snapshot of webpage that some of my user are getting:https://imageshack.us/photo/my-images/8/unledog.jpg/
    Correct snapshot of website that i m getting:https://imageshack.us/photo/my-images/232/zoomout.jpg/

    The temporary solution to this problem is just press CTRL and + button to zoom out in your browser but i am looking for some permanent solution..can u tell me why some of my readers are getting this problem..it is related to resolution or what..

    If you could help me in that then it will be really helpful !!

    hi ravi4uever87

    You should really close this post and mark it as resolved and then start another with a different title. That way it’s more useful for people when they search the forum.

    Having said that, the error some of your users are seeing is because of the css. I notice that when viewed in IE9, the layout is screwy. You can use adobe browserlab to test the site in various browser. I would go back to the theme developer and see if he’s been working on a solution for this.

    Thread Starter ravi4uever87

    (@ravi4uever87)

    Thanks Christine….I will write this problem in a new thread…
    anyways thanks for your support…

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Only 3 posts are displaying category wise’ is closed to new replies.