The tag has no usage guidance.

learn more… | top users | synonyms

10
votes
6answers
14k views

Check if current page is the Blog Page

I'm new to Wordpress. I need to check in header file if current page is the Blog Page? I checked but I can't find the way. Help me, Pls.
4
votes
1answer
1k 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 ...
3
votes
2answers
5k 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
3answers
440 views

Why aren't my posts showing?

I'm creating a theme for my portfolio site. After a some time of trial and error research and almostss, I'm stuck. It's going to be very minimal site in content, therefore I decided to create a one ...
2
votes
3answers
4k 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 ...
2
votes
3answers
1k 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
1answer
294 views

Blog.php or how to display recent posts?

I created a home.php which doesn't display the recent posts in the standard-blog-style. Just have a look at my website to see what I mean. I want to create a link that leads to something like ...
2
votes
1answer
77 views

Automatically adding post and pages to new blog setups

I'm using the ThreeWP Broadcast plugin to add and control post and pages from the main blog to all my sub-blogs in the network. Is there anyway i can automatically add all of my post and pages from my ...
2
votes
2answers
612 views

Setting a static home page and blog page without using the settings

This may seem like a stupid question, and it probably isn't possible, but is it possible for me to set a static home page (using front-page.php) and a blog page (using home.php, I think) in my theme, ...
2
votes
0answers
97 views

Sitewide categories for all the blogs in the network [duplicate]

Possible Duplicate: WordPress Multisite - global categories I'm trying to do sitewide categories. like when a category is made in the main blog that category is added to all the new blogs ...
1
vote
1answer
4k views

How can I have a static title on my blog page?

My blog page is not my homepage. How can I add a title to the top of the page? i.e. "My Blog". Right now there is no title on the page. The title of the first post is at the top. (Sorry it's on my ...
1
vote
1answer
625 views

Multiple Blogs on one site. Best Practise

I've been tasked with adding a blog to an already up and running client site. The site uses wordpress as it's CMS already. So a blog install should be a relatively simply task and simply a matter of ...
1
vote
1answer
224 views

home.php not loading

I have an issue where home.php won't load, so wordpress insists of using index.php to display blog posts. I created home.php by copying the entire content of index.php into home.php. Is there a way to ...
1
vote
1answer
198 views

Create a front page template and separate page for posts?

I'm building a WordPress theme. I need two type of pages, one is home page which will display on www.example.com. I also need a list of all my posts on www.example.com/blog/, but I need both in one ...
1
vote
3answers
87 views

Do I need an empty page for a different blog page?

Okay, let's say I have a website with the following navigation: HOME - ABOUT - PRODUCT - NEWS - CONTACT The 'about' and 'contact' page are just simple pages of course. The 'product' page is just an ...
1
vote
2answers
301 views

Can I install/embed Wordpress on a 'single page'?

I'm building a website from scratch (PHP, jQuery) and want to have full control over the design, implementation, etc. I want to install Wordpress so that when you go to a certain section of the site, ...
1
vote
1answer
847 views

Creating a new blog using PHP

I have a Multisite where I'm creating a user from a PHP file, using the code below: define('WP_USE_THEMES', false); require_once (dirname (dirname (__FILE__)) . '/mygroup/wp-blog-header.php'); ...
1
vote
0answers
49 views

Blog page Server error 500 with stick post loop in query.php

Using sticky post on site near about 5000 sticky post i have. In wp-includes/query.php here i have bellow snippet code.on line 3748 to 3760.If i comment this code the blog page work properly. if ...
1
vote
0answers
56 views

multiple blogs on single site

In my custom theme, I had to set one of the templates to home and then under Reading Settings set that to be the Posts Page. That allowed the site to read from the content of my home.php. And I ...
1
vote
1answer
110 views

Problem with Comment link in Blog [closed]

I have all the settings setup to allow comments on my Blog postings. However, when you click on the link to post a comment nothing happens. Attached is my comments.php file Also the site is ...
0
votes
6answers
126 views

Blog page problems

Right, please excuse the stupid question. On my new blog I want the home page to be the "home" page I've created, and not the list of articles... that's fine, I go to Settings -> Reading -> ...
0
votes
3answers
2k 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 ...
0
votes
1answer
15 views

Best way to change the blog page post type?

what is the best way to change the wordpress blog page post type. by default it fetches the posts with post type is equal to posts but how we can change to to lets say posts type is equal to blog. ...
0
votes
1answer
66 views

Changing next and previous post link text

So I've been staring at the CodeX for about 10 minutes and can still not figure how to do this next and previous on a the post page. So I've added <?php next_post_link(); ?> and <?php ...
0
votes
1answer
24 views

wordpress blog posts's time

I want to show the blog posts'time like below: "A heading title , posted by XYZ, 1 hour ago" I want the time that says: 5 minutes ago, 1 hour ago, 2 days ago 1 month ago like that. how can i get ...
0
votes
2answers
1k 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 ...
0
votes
1answer
1k views

What is archive.php used for?

Dumb Questions Ahead: If index.php and archive.php are practically the same thing, what's the point of having archive.php? When should I ever want to use archive.php over index.php? If I use ...
0
votes
2answers
2k 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 ...
0
votes
2answers
85 views

Defining different theme for Blog posts page

So, I'm using my wordpress with a static front page and then I have Blog link that opens the blog posts. My question is, how can I apply a different template/styling only to that area?
0
votes
2answers
2k views

Blog Posts not showing title

I have my Reading settings set to Static pages and blog is set to a page called What's New. When I go to this What's New page I can see the post content but the post title with link to post page is ...
0
votes
1answer
88 views

Trouble getting the Blog page to show up correctly

I'm having a completely new problem and can't figure it out so I'm hoping someone can help me. The website is http://www.talkingdogtemplates.com. It's a big site that uses WordPress as a CMS ...
0
votes
1answer
4k views

How to display blog posts on a dedicated page?

I'm in the middle of moving to WordPress from another CMS. I definitely have to keep the links intact, which are like this: example.com (Redirects to /blog) example.com/blog (The blog, displaying ...
0
votes
1answer
19 views

Custom Theme Blog page not showing Posts

I am developing my custom theme in WordPress from scratch. Now when i am working with my blogs page its not showing any of the posts i have changed my "index.php" page but i think there must be some ...
0
votes
1answer
21 views

Showing “best posts” in front page

What is the best way to Show my "best 5 posts" in the front page of my site (www.example.com). The only way I have found to do this is by assigning a specific category to these post and show the ...
0
votes
1answer
950 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 ...
0
votes
1answer
102 views

Having trouble showing more blog posts on my grid blog layout

I made a grid blog layout on my wordpress site and i got some help from a friend with some code. It shows 3 posts per row but it wont go past 2 rows so its only showing 6 posts when there is much ...
0
votes
1answer
863 views

How to set a certain Custom Template to a Single Blog Post

I need to set a custom created template to be used whenever a single blog post is displayed. I can see how to assign custom templates to pages under Page Attributes > Template, but how do I tell my ...
0
votes
3answers
1k 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 ...
0
votes
1answer
26 views

Separate blog on one WordPress

I have created few static web pages for my small coaching institute using WordPress. We have three faculty and I want that each faculty should have their blog. So I want ...
0
votes
1answer
188 views

Multiple Blog Pages

some Preview Sites of WP Premium Themes show Multiple Blog pages with different Templates as example. a Full Width Blog Page a Medium Image Blog Page a Pinterest Style Blog Page. Now how do they do ...
0
votes
2answers
100 views

How do I get blog posts to appear within CMS?

I'm working with a WordPress CMS website that was set up without a blog. I want the site to continue to function as it has, with mostly static pages, including the home page. I want a page called ...
0
votes
2answers
118 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
109 views

Best practice for implementing a blog page / section in wp_menu_nav()

I currently have a theme I am developing and had a thought on best practice. I am using wp_menu_nav() for my menus and they are linking to 4 or 5 pages respectively. I would like to add a page / to ...
0
votes
1answer
129 views

How to reverse wp pages links?

Every wp page has link structure like http:/site.com/?paged=1,2,3..50(last) But how exchange it on http:/site.com/?paged=50,49,48..1(last)
0
votes
2answers
67 views

Host a blog engine in my wordpress site

Hi I have a website like www.shankpress.com, it is wordpress v3, and i want my users to have blogs hosted in my site and have url like: blogs.shaknpress.com...and I can show who got the most popular ...
0
votes
1answer
160 views

How do I set up “blog” posts to a page other than the main/home page?

Someone set me up with some custom work on top od another them and now I want to add a "what's new"/"blog"/"latest news" type page that is accessible from the main menu and is NOT the home page. How ...
0
votes
0answers
6 views

Subpage of Blogpage-URL redirects to Blogpage

I want to have a subpage of my Blogpage-URL. For example: Blog => www.domain.com/blog/ Subpage => www.domain.com/blog/custom-filter/ But what happens is that Wordpress redirects me to ...
0
votes
1answer
32 views

WP Blog Page Problems - Been stuck for a week

So I have my site in maintenance mode. I am almost done but have been stuck for over a week and not sure what to do. I have a site with multiple pages one of which is my blog page. If I set the ...
0
votes
0answers
46 views

strpos() expects parameter 1 to be string Error showing only in customizer

Whenever I go to customizer and from front page go to other pages(ex - right sidebar page), at the bottom of the page I get this error - Warning: strpos() expects parameter 1 to be string, object ...
0
votes
1answer
11 views

How to show page content as well as post lists

I am trying to make a blog page for my theme which is made with Bootstrap 3.x . My page-blog.php includes <?php get_header(); ?> <div class="col-md-9"> <?php ...