Tagged Questions
0
votes
3answers
73 views
is_home, and is_front_page conditional problem
I have this snippet in a "portfolio-loop.php" file. I'm using get_template_part to display the loop on the front page and on other pages.
I have this within the loop:
<?php if( !is_home() || ...
0
votes
1answer
85 views
Pagination not working on home page
I've a page named "share" with a complex loop that's working perfectly. This page is located at domain.com/share. Now I need to use this page as the home page, so I went to "Settings -> Reading" and ...
0
votes
0answers
36 views
Avoid duplicate posts from sidebar widget on homepage?
In a normal dynamic sidebar of a theme's homepage template the sidebar widgets display lots of duplicate posts on the front page.
It shows "recent posts" and posts from certain categories in main ...
0
votes
1answer
76 views
2 loops in blog homepage
I would like to have to query loops running on my blog homepage:
Featured posts on top displaying 3 posts from the category : "Featured"
Underneath it just the basic loop of wordpress which display ...
1
vote
3answers
240 views
Recent posts on a static home page
I want a static home page on my wordpress website, I have already set this up and have a bit of content on it, the next step is I want to have 5 recent posts underneath the content. As a normal page ...
0
votes
1answer
138 views
Display Page Meta Description on Child Theme’s Home Page
I’m working on a project. I need to display Custom Document Title & Page Meta Description in the home page. I mean you know that genesis has a custom Theme SEO Box under Post. I want that custom ...
0
votes
1answer
94 views
Custom Post Types and 404 Pages
I have tried refreshing my permalinks but I still cant get this to work correctly.
I have the categories movies, gaming, blu-ray, and tv already created, so my URLs are site.com/movies/ for example. ...
0
votes
1answer
38 views
Adding if statement to content for homepage
I have an if statement already in my loop to display content based on post type. I was wondering if there was a way that I could say to ignore that section if it is the front page/homepage. Here's a ...
1
vote
2answers
57 views
Page-loop is looping content from custom loops on the same site. How to avoid that?
i've made a custom home-page (with a template) and i'm using three loops on this site: two category-loops and on the bottom of the site the main loop for the page (the page content). the problem is: ...
0
votes
1answer
117 views
Home page loop with pagination problem
I used a loop to display posts from specific categories, then add the code for WP_Paginate plugin under that loop ... below my posts I see pagination links from 1 --> 5 , however when I press page 2 ...
3
votes
1answer
1k views
how to display full post with pagination on home page
I am using the 'Hatch' theme. I'm familiar with HTML/CSS but not with WordPress, first time working with this.
I have my homepage showing recent posts and that's good.
However, I want to make a ...
0
votes
1answer
1k views
Skip 5 latest post while paging?
In the index.php page, I need to skip 5 posts (the last 5 posts in the blog).
I use the WP-Paginate plugin, but all pages show the same. I'm using offset=5, this is my code:
<?php $paged = ...
5
votes
2answers
3k views
Getting Post Comments for post ID using WP_Query() and a Custom Loop?
(Moderator's note: The original title was "Is there a way to get post comments by post ID on a custom loop using WP-Query()?")
Hi! I'm running a custom loop using WP_Query, that only displays one ...