Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [blog-page]

The tag has no usage guidance.

1
vote
5answers
29k views

Display content from a specific category

I'm trying to get my news page to display content from one category only (number 3) but I cant seem to get it to work. Instead of just displaying posts from category 3 it displays posts from all ...
2
votes
3answers
6k views

Exclude category on blog list page

I've got a site with a News page (archive for category 'news') and a separate Blog page. When I make a post for the News page I select the category 'news'. So, on the news page you only see the posts ...
2
votes
3answers
6k views

Non existing blog pages are not redirected to 404

I've got a page called Blog. In the Settings -> Reading I've set my Blog page as Posts page. In the menu when I click on the Blog link the posts are loaded correctly and pagination works, so far so ...
0
votes
2answers
119 views

Permalink: postname EXCEPT for blog

In order to refrain from possible duplicate URLs or conflicting URLs, I really want to use "postname" for a clean URL structure, EXCEPT for the blog ... for the blog and it's posts, I always want /...
0
votes
2answers
708 views

How to query 'posts_per_page' to display a different blog posts index template?

Trying to create a 'switching' blog template using home.php, controlled by 'Blog posts per page' setting in the admin area. If set to '1', it will show the single post template. Anything higher and it ...
0
votes
2answers
4k views

Custom fields won't display on my blog page

I created a custom field called 'Page Description' which I use to create a custom title for each static page of my wordpress site. I use the code: <?php echo get_post_meta(get_the_ID(),'Page ...
6
votes
1answer
6k views

Show Default Editor on Blog Page ( Administration Panel )

In WordPress 4.2 it included a nice feature which labeled what page was the Front-Page and which page was the Blog ( Latest Posts ). Unfortunately, it also removes the default editor on the page ...
4
votes
1answer
3k views

I put my blog on a subpage, how do I get page title?

I've got my blog setup on a subpage (not the front page) and I'm using the template file home.php, how can I get the contents from the page editor onto this subpage? If I change the title of the page ...
4
votes
2answers
6k views

ID for posts/blogs page

I have a website which has a static front page and a blog page where all the blogs are displayed. I am using my own theme and have created some custom meta boxes that display content in a sidebar ...
2
votes
1answer
40 views

How to change the permalink structure of a master page?

Links on the page I use are progressing as follows: http://example.com/image/1 The code I use for Functions.php add_action( 'init', 'wpse316713_pagination_base_rewrite_rule' ); function ...
1
vote
3answers
3k views

How to get the list of posts in a static page other than front page?

So, for the thousands using WP as CMS, a typical approach is that of using the 'A Static Page' option from the Settings > Reading admin page. However, I'm in a different scenario: our front page is ...
1
vote
2answers
3k views

index.php template is used instead of blog page

I am trying to set WordPress so that home page is static, and the blog page is a separate page. So, I created two page templates in my theme., lets call them home_template and blog_template. Then, I ...
1
vote
1answer
63 views

How to change the link structure of the homepage?

There are "your last posts" on the homepage. Under normal circumstances, the page proceeds as follows: http://example.com/page/1 http://example.com/page/2 e.t.c I want to change this link structure....