The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
0answers
13 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 ...
0
votes
1answer
35 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
0answers
5 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
27 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
41 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
20 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
8 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 ...
0
votes
0answers
37 views

Wordpress not showing all styles from stylesheet

I am creating a blog page from scratch, i have setup the posts to show on the page, i am now working on my header and footer. The problem i am facing is that when i try to link my header.php file to ...
0
votes
0answers
12 views

Custom blog posts page not printing existing posts

I'm creating a custom theme that the blog posts won't appear in the front-page, but in a Blog page. I've created pages called Home and Blog, and set the Reading config to make Home my front-page and ...
0
votes
0answers
58 views

Different wordpress menu showing in frontpage and blog page

When I select "Your latest posts" from "Front page displays" I want to show a custom menu which will show in blog,single,page and archive page. But when I select a static front page than it will show ...
0
votes
1answer
634 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
85 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
0answers
23 views

Virtual parent in hierarchy for certain categories

I have a website where some posts go into the 'News' category and all the others are dispersed throughout other categories. There's a 'Blog' page set up under Settings>Reading which uses a customised ...
0
votes
0answers
25 views

Separate page for news articles - exclusion from 'Blog' page

I'm trying to accomplish the following: have a 'Blog' page, which displays all posts EXCEPT those from the 'News' category, and display the posts from 'News' somehow separately, so that the ...
0
votes
0answers
6 views

Show top comments on blog page [duplicate]

I have a custom template wordpress and on the Blog page with contain list of blog posts, I want to show top 5 comments after the "Read More" link after each post. What code I should write there to ...
0
votes
1answer
59 views

Link post to blog from a static page

I'm a WP rookie, and I just designed a static homepage that shows the 3 most recent posts in my database. I would like to redirect the user to another page in order to show him the entire blog post ...
0
votes
1answer
148 views

Call/Run a Mathematica (.m) Shell Script from Wordpress Page/Blog

Is it possible to run a Mathematica shell script from a Wordpress page or blog post? There doesn't seem to be a plugin available or way to do this. The script would need to take values inputted in ...
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
1answer
660 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
2answers
165 views

Wordpress Blog - Grid View

by default Wordpress shows blog posts one beneath the other showing short text and, if available, an image. The question is - is it possible to change that? I would like to have a grid consisting of 3 ...
0
votes
1answer
180 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 ...
2
votes
2answers
529 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
3answers
392 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 ...
0
votes
1answer
55 views

Latest post showing up as main title of page on blog page

My latest blog post is showing up as the title of my blog page. I have my page set to static for the home page and have all the titles of the templates displaying at the top except the blog post. I ...
0
votes
0answers
38 views

Create a new different blog layout

I'm not native English, so I use a translator. It may be that the phrases are not correct all I'm trying to create a new template to display blog posts differently. For example, I want the image of ...
0
votes
1answer
177 views

Limit the number of posts from a specific category on index.php

I've had multiple requests from different clients to figure out a way to modify their blog (index.php) or Custom Post Type Archive page in order to show less posts from a certain category. A good ...
0
votes
2answers
42 views

Show the page title on blog page

I created a page for my posts, and a home.php for the structure. I would like to show the page's name on the top of the posts, but the result is always the latest post. My code: <?php ...
0
votes
1answer
182 views

Echo the featured image of page assigned to blog in index.php

I have my posts page set to a page named Blog. This is set to use the Template: Default template. So index.php is rendering this page. I want to be able to set the Featured image of this page I've ...
0
votes
1answer
101 views

A page created with url of blog redirects to the posts page, how do I stop this?

I have a simple site where I want to handle blog posts with a custom page template. So I've created a new page called blog with a document url value of "blog". My custom php template page was ...
0
votes
1answer
64 views

Having single posts appear under the blog homepage and highlight menu items properly?

My Wordpress site which has a static frontpage and the blog page assigned to a subpage of a section. My blog's homepage is: /be-the-first-to-care/first-to-care-blogs/ This works great for the blog ...
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
0answers
89 views

Posts page template: How can I edit the markup for this?

I have in settings->reading changed the front page to display a static page. One for home, one for news with a custom template for each. Home works fine, however News will not change no matter what I ...
0
votes
1answer
23 views

Archive posts on showing current page instead of archive

I have tried to create an index page of all my blogs on a menu link: Blog I created a new page: Blog (id:267) I copied archive.php to page-267.php Yet, when I view this page, it only shows one ...
0
votes
1answer
66 views

Page updates appear in Preview but not live version?

I have made some changes to a blog page and excluded some categories. However, whenever I view the blog online the excluded posts still appear. But when I got to the blog page and click 'preview' the ...
0
votes
0answers
28 views

How to get to blog flow and a specific post?

How do I get to a specific blog post in the flow without getting inside the specific post? I mean from my homepage i can see a excerpt of the post. When i click on that post i come right to that ...
0
votes
1answer
26 views

Posts page drop down is not selecting the selected page

I tried to link the blog post to new page. so i went to settings->reading and selected the page in Post page drop down and i hit save after it says Settings saved i can't see the selected page in ...
1
vote
1answer
210 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 ...
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
481 views

why is this content-template not showing any of my blog-entries?

i'm using the blogolife-theme on wordpress 3.6.1 my template looks like this: <?php /* Template Name: Template One */ ?> <?php /** * A custom template file. * @package WPLOOK * ...
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
942 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 ...
6
votes
5answers
11k 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.
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 ...
0
votes
2answers
112 views

pagination for blog landing page

I have a blog page at: mysite.com/blog. On this page I have this loop: <?php $args = array ( 'pagination' => true, 'paged' => 'pages', 'posts_per_page' ...
0
votes
1answer
177 views

Run two concurrent themes in one installation

I'm trying to add a 'blog' to my established and customized wordpress installation. Goal is to have a blog page that runs a child theme of TwentyTwenty, pulling any post of the category "blog-posts" ...
0
votes
0answers
24 views

Insert blog template on home template [duplicate]

i need to include "blog_page_2_column.php" into homepage. I insert this into homepage template: <?php include(TEMPLATEPATH . '/blog_page_2_column.php');?> Works fine but i cant change the ...
0
votes
2answers
1k 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
1answer
79 views

Overwrite URL on blog posts

I would like to overwrite my URL on single blog posts. At the moment my posts are displaying as www.mydomain.co.uk/post-title, however I would like them to be as www.mydomain.co.uk/blog/post-title ...
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 ...
0
votes
1answer
66 views

Older entries link within a category page

I have set up a category called 'blog' and have all of my posts displaying from this category. I have selected to display 4 posts / page therefore there is a link at the bottom that says older ...