Posts Not Displaying
-
Hello,
This is the link https://www.fatwaa .com/articles. Here you can noticed that there are only 10 posts (articles in that) whereas I have noticed in the posts section that there are more than 10 posts in that. So what does it mean? Perhaps, due to not having page navi like on homepage? (BTW that too stops working after 2 pages).. My theme is child template
-
Let us know the theme are you using.
there is no such name of this theme as I think it has been designed on some perticular theme.
Other problem related to this problem is that, I’m also unable to see posts with categories.( I mean if I check posts by going to categories and click on the number of the particular categories.)
Okay, try switching to a theme distributed on www.ads-software.com https://www.ads-software.com/extend/themes/
We can’t help for your theme with no name.
I think that is not displaying because it doesn’t have page numbers at its bottom like that on homepage? Because in the article template I have seen the code of page numbers. (perhaps problem with that?)
Anyways, I have switched to the wordpress default theme and all the posts are displaying but I’m still unable to see the posts via categories in categories section. (It is displaying “No Posts Found”).
My theme is child template
Just to clear up some of the confusion here: I’m afraid your theme is not a child theme. Child theme’s have the
Template:
tag in it and your style sheet is this one.https://www.fatwaa.com/wp-content/themes/fatwaa/style.css
Not a child theme.
It does tell us that that theme came from https://www.style-foundry.com/ and you may want to contact them for theme specific help as we don’t support that theme here.
Anyways, I have switched to the wordpress default theme and all the posts are displaying but I’m still unable to see the posts via categories in categories section. (It is displaying “No Posts Found”).
Can you switch your site to the Twenty Twelve theme, leave it that way for now, and post for us a link for one of your categories after you have done so?
Hey Jan,
First of all I would like to tell you that I never intend to insult anyone in my last thread.
Regarding this thread, actually I was taking the meaning of child theme to be something else that’s why I wrote that.
Yep, I have seen that the theme came from style-foundry.com.
Well, this is the snapshot of the dashboard categories section see this If I click on the round red circles (i.e. post numbers) I found no posts. This is the case for all the categories except “Articles” which is on the first one.
You can also see the link of that categories below
see thisThanks for switching to that Twenty Eleven theme, it really does make it easier to support you when you temporarily switch like that.
Is there something that you have in your plugins or
.htaccess
file that is interfering with your category slugs? Also what is your permalinks set to?Looking at your screen shot, this URL should work but does not.
That should have been redirected to
https://www.fatwaa.com/category/beliefs-and-creed/
But that’s not happening. Something is preventing that from occurring.
I suggest (if you have not already done so) temporarily deactivating all of your plugins. Then clear your browsers cache and cookies and then try those links one more time.
https://www.fatwaa.com/?cat=5
https://www.fatwaa.com/category/beliefs-and-creed/See if that helps get that resolved.
Thanks for replying.
Well I cannot say about the plugins that is interfering category slugs but here what I found in the public_html. I even deactivated all plugins and also clear my chache as per your saying but same problem..
I found two file in public_html
1) .htacess
( Look at it’s code# BEGIN WordPress # END WordPress
2) .htaccess.predirectoryindex (look it’s code here )
My permalink structure is as follows
/%category%/%postname%/
I tried to make it default and also tested it but same problem.
If you notice that ‘Articles’ category is working fine..
Any updates.. I have left that website for the default theme for so much time? If anyone could solve, I will be very much thankful…
Do you know what’s handling the fancy permalinks for your installation? Normally that’s handled by the
.hataccess
file but in your case that file is empty.I think whatever is handling those permalinks for you is what’s causing the problem. That second file https://pastebin.com/Sf8r1FHj shouldn’t be used of having that effect.
I have deleted the second code from filezilla after saving anywhere. When I check the first .htaccess i’m getting the following code
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
do all of those categories actually have published posts connected to them?
the public-facing site seems to have only posts of the category ‘Archives’;
for instance, when I view the month-archives, the posts only show ‘archives’ as their category.you’ve already mentioned that the category archive for the category ‘archives’ does show posts.
can you point to one post that for instance has the category ‘beliefs-and-creed’? or to any post which has any category other than ‘archives’?
what do you see in the dashboard in the right column under ‘Categories’ when you edit a post?
are any categories ticked when you edit any of the posts?Hey Alchymyth,
Your posts help me back to look at my dashboard very carefully and I think I found the problem but not solution. Here what I found the problem when you meant ‘archives’. Before I proceed on writing anything just have a look the following images. (snapshots)
Okay..
I have one template (i think?) by name ‘questions’ just like we have ‘posts/pages’. If you look at the image one, you can find that. And I found categories in that too. When I click on one of the categories in that (like Apostasy which has 1 article), I found that in categories of the questions (have a look at the image-2 for seeing that posts). Now, when I begin to edit that article (as U asked me in the question), I find ‘categories on the right side as it supposed to be and it is no doubt have tick marks on the respected categories which my client needed. When I click on update. The questions are moving to the url fatwaa.com/questions/post-title. Whereas, when you look at the categories, you found zero posts.
I then soon back posted a test article in the ‘Post’ Section by ticking mark the respected category then without any difficulty I’m getting that in the category. I have edited one archive and tick mark one category into that and it is working without any difficulty. (link)
So, I think the whole problem is causing due to this ‘Questions Template’
‘questions’ seems to be a custom post type.
general info: https://codex.www.ads-software.com/Post_Types#Custom_Post_Types
these keywords are something you might need to search for on the forum or web:
‘how to show custom post type in main index wordpress’some search results:
https://justintadlock.com/archives/2010/02/02/showing-custom-post-types-on-your-home-blog-page
https://www.wprecipes.com/how-to-display-custom-post-types-on-your-wordpress-blog-homepage
https://wordpress.stackexchange.com/questions/70606/displaying-custom-post-type-on-front-page
- The topic ‘Posts Not Displaying’ is closed to new replies.