Blog page = Latest Post in wordpress - wordpress

my client has the following wordpress site =
http://texasdentalimplants.com/index.php/blog
This is how the blog page traditionally works :
User clicks on Blog Page --> Series of posts are shown --> User chooses to click blog post, user sees chosen blog post
The client, whoever, wants to only display 1 blog post per page, so now the "blog" page, kind of becomes redundant(It's just an exact copy of the blog post).
What I would like to do is to make it work like this --
User clicks on "Blog" ---> User sees the latest post --> User can click "previous post" and "next post", to go back and forth.
How would I make it so that when I click on "Blog", it goes directly to the latest blog post?
This is all in an effort to simply reduce redundancy, since the client is worried that it will affect SEO.

I did a poor job of phrasing this question, but what I essentially wanted was to link to the latest post in my navigation. To do this, I followed this tutorial:
http://www.viper007bond.com/2011/09/20/code-snippet-add-a-link-to-latest-post-to-wordpress-nav-menu/
Essentially, I added a link in my navigation with an anchor #latestpost. The code snippet was added in functions.php to replace #latestpost with the link to the latest post

Related

How can I access wordpress blog posts url when I used stable page as my blog home page?

I chose a single page as home page in my WordPress blog setting, but I want my posts to be visible as well. Is there a url (or any other way) to access the posts list (like the homepage in normal WordPress blogs)?
In order to do so, you can use recent posts widget plugin.
This demo can help you out (Seek video to 1:00).
Yes there is.
first add new page to your website.
then go to setting>reading and select that page in post page field

Wordpress: Posting a page does not display in my site

I created a new page for my wordpress site. Then I published it
and waited and waited and waited.
In another browser I can see the URL of the page at https://craftsmanshipforsoftware.wordpress.com/linux-sockets-which-process-is-listening-to-a-port/?preview_id=188&preview_nonce=cc825aeff3&_thumbnail_id=-1&preview=true
but the Recent Posts does not have this page. I am using as few plugins as possible - just the default.
The main page at https://craftsmanshipforsoftware.com/ likewise does not display this new page.
In the dashboard under Posts, this new post does not appear.
I have waited over an hour to see this post appear.
I should be able to simply Publish a new post and have it appear on
my site within a few minutes.
In order to see another post show up under "Recent Posts" you need to create a blog post, not a page. Pages are different than posts and will not show up in your recent posts.
Add this content by clicking Add next to blog posts from the wordpress.com dashboard. You will not have to wait after you have published it for it to show up.

Wordpress template without blog pages

I chose Wordpress for my last project but I have a question. I'll use Pages so the client is able to change the content himself. For the moment there are no Post or blog in it. Is it possible to run Wordpess without a blog? It'll be a blog in a future but not now. Thanks.
Absolutely you can have a WordPress site without a blog. You just need to do a couple of things in the admin.
First you need to create 2 pages: a static 'home' page, and a 'blog index' page. The home page is what will be displayed when a visitor comes to the site. The blog index page is just a blank page, with a title you can remember.
Next, in Settings > Reading, select Front page displays a 'static page', then set 'Front page:' to the home page you made, and 'Posts page:' to the blog index page you made.
Yes, for sure you can do this.
Just do the following:
In your admin backend click on Settings -> Reading and set "A Static Page"
Go to Appearance and build a custom menu and add there your pages to a active menu.
Disable all widgets which link to posts.
In fact you need only the first step, but with the second you allow users to navigate on your site. To make the UX better, just add a plugin like Map Categories to Pages to add a category widget or something in this way, to let people browse your site more nicely.

Facebook comments do not appear on every post

I've added the Facebook app to my wordpress blog and the comment box appears on some of my old posts but not my newer posts. They were all written the same way on the same blog, why does the comment box show up selectively? How do I make it appear on all posts?
My site is www.heymouser.com if you would like to take a look at it.

WordPress page is listed in "Posts" but appears on site as a "Page", What gives?

I've seen this on a few sites now and its puzzling me. The page will be listed under the "Edit Posts" listing, however, when I click on "View Page" to see the live post, its being served out as a "Page". I can tell this by viewing the source and the body tag is...
<body class="page page-id-37 logged-in">
If its were actually a post, the body tag should be
<body class="single postid-63 logged-in">
I've seen a "post to page" and a "page to post" plugin that will convert between pages and posts, however, this site has NO plugins other than the wordpress defaults (akismet and hello dolly).
I'm stumped.
Well I found the answer with a little more digging. Here's what's happened:
The site owner had originally created this post as a "Page". He then deleted this "page" and re-created it as a "post" with the same post slug as the one he had deleted.
As long as the deleted page had the same post slug as the new "post", Wordpress was presenting the content in the "page.php" template and not the single.php template.
The only way I could get it to work was to go to the Page's Trash listing and click "delete permanently" on the original page.
your may read this on body class functon, this function usually used by theme developer. It directly output class according to theme developer input. It seem the theme developer only use one file (page.php) to show page and post. (and it's better approach to create single.php to show a post).
So, the output will be like you describe.

Resources