navigation
-
I’m not able to select blog posts or pages and all I get is my last blog.
Can anyone please help me with this problem?
-
Hi Pinockio,
I’m not 100% sure what your problem is.
It would be great if you could post your blog url and explain a bit more details.Hi Geeksfolder,
Thank you for your reply and interest in my problem.
When I go to my dashboard, select All Posts and click on any of my posts
to view, all I get is my last post. I can’t select my pages and received
no more comments.
I hope this will clarify my problem.
I appreciate your help.
Kind regards,Pinockio.
[ Signature moderated per forum rules. ]Hi Pinockio,
This is an interesting issue…
Have you checked if you have a single.php in your theme folder?
Can you post the code of single.php using https://pastebin.com/?Also check if you set the readings option correctly (Settings > Reading).
And check if your wordpress and theme are the latest versions.
Lastely, check your permalink. Go to Settings > Permalinks and see if there’s any issue. Maybe try to update it again and see if it helps.
Hi Geeksfolder,
Thank you for your advice, however, I have a few questions:
How do I check for a single php in my theme folder?
Which code do you mean and what does pastebin?
I changed my reading option to my Welcome page instead of my latest
posts, but this made no difference.
I use the latest version of WordPress and Arjuna theme.Look forward hearing from you soon.
Regards,
Adrian.Hey Pinockio,
To get the code of single.php, login to the dashboard
and go to Appearance > Editor and click “Single Post” link in the right sidebar.Copy the code and go to pastebin.com and put the code there. And post the link here. Pastebin is a good way to show the long code.
Let’s check your single.php and see what we can do.
Hi Geeksfolder,
Thanks for your reply,
I copied the following php code to Pastebin:
What happens next?<?php $arjunaOptions = arjuna_get_options(); ?>
<?php get_header(); ?><?php get_sidebar(‘left’); ?>
<?php get_sidebar(‘right’); ?><div class=”contentArea” id=”contentArea”>
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<?php if($arjunaOptions[‘posts_showTopPostLinks’] && arjuna_has_other_posts()): ?>
<?php get_template_part( ‘templates/post/single-post-top-links’ ); ?>
<?php endif; ?><div id=”post-<?php the_ID(); ?>” <?php post_class(‘post’); ?>>
<?php get_template_part( ‘templates/post/single-post-header’ ); ?><div class=”postContent”>
<?php the_content(__(‘continue reading…’, ‘Arjuna’)); ?>
</div>
<div class=”postLinkPages”><div>
<?php arjuna_get_post_pagination(__(‘Previous Page’, ‘Arjuna’), __(‘Next Page’, ‘Arjuna’));?>
</div></div>
<?php get_template_part( ‘templates/post/single-post-footer’ ); ?>
</div>
<?php if(arjuna_is_show_comments() || arjuna_is_show_trackbacks()): ?>
<div class=”postComments” id=”comments”>
<?php comments_template(”, true); ?>
</div>
<?php endif; ?><?php if($arjunaOptions[‘posts_showBottomPostLinks’] && arjuna_has_other_posts()): ?>
<?php get_template_part( ‘templates/post/single-post-bottom-links’ ); ?>
<?php endif; ?>
<?php endwhile; ?><?php else : ?>
<p><?php _e(‘There is nothing here.’, ‘Arjuna’); ?></p>
<?php endif; ?>
</div><?php get_footer(); ?>
Cheers!
Pinockio.Hi Pinockio,
Sorry about the late reply…
It seems your single.php looks ok…
Have you checked your permalink? Which option is checked?
Go to Settings > Permalinks and what’s in “Custom Structure”?Hi Geeksfolder,
Thanks for comming back to me.
I thought you had forgotten me and I was getting desperate because my
affiliate marketing business depends on my blog.
I checked my permalinks and I had chosen a custom structure:/%postname%/
because by default WordPress make the permalinks for a site a horrible
structure that is not good for SEO.Meanwhile, my problem still exists. When I choose to view a blog from
my dashboard, I get my latest blog post. Also, I don’t seem to get any
more comments like before.If you are fet up with my problem, that’s ok. Someone else will help me. There should be someone out there who also had this problem before!
Thanks for your help, anyway.Pinockio.
It seems your .htaccess is doing not right…
Can you post the code of your .htaccess using pastebin.com?Hi Geeksfolder,
Thanks for your reply,
Where can I get the code of my .htaccess?
I searches Google for .htaccess and found instructions for how to
change the settings under the “configuration tab” to set for “users”,
but where do I find this tab?Also I noticed that when i click on “view” in my admin panel for any
post, I get the following notice:Bad Request
Your browser sent a request that this server could not understand.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at perfectformulaonline.com Port 80Could I try to reinstall the latest version of WordPress?
Thanks for your help.
PinockioIt seems the permalink is not working properly
and I guess it may be because of .htaccess.You can try to reinstall WordPress and see if it works.
If you are still having the same problem, we will have to check .htaccess file.Hi Geeksfolder,
I have submitted my problem to Hostgator and they were be able to solve it
I thank you very much for your time and efforts and wish you all the best.Kind regards,
Adrian Joele.
- The topic ‘navigation’ is closed to new replies.