The tag has no wiki summary.

learn more… | top users | synonyms (1)

6
votes
4answers
2k views

How to show a single post on the front page but have normal paging?

I would like to have a single post on my front page (always the latest), but let normal paging work. So the front page has post 1, the next page should have post 2-11 (1-10 is fine too), then 12-21 or ...
11
votes
5answers
2k views

How do you use a CPT as the default home page?

I have a client who's site will be making heavy use of custom post types to configure their site. But I'm between a rock and a hard place for their requested home page. In reality, the home page ...
0
votes
1answer
834 views

Add Adsense code in index.php

My wordpress blog homepage has thumbnail gallery. I want add adsense image ad code to 5,10 place. Below code from my index <?php if (have_posts()) : while (have_posts()) : the_post(); ?> ...
14
votes
2answers
7k views

When to use is_home() vs is_front_page()?

I've found that is_front_page appears to return true when I'm viewing the home page and have a single sticky post assigned there. It also returns true when I've assigned a page as the static front ...
3
votes
6answers
792 views

Best way to present options for home page in admin?

I have a site with a custom home page, home.php. What's the right way to present the editable home page options in the admin tool? For example, there's a few custom text fields on the home page that ...
3
votes
5answers
4k views

How to make a category page the blog home page?

I want to use a category page as the home page of my blog. Is that possible and how can I do it? It tried it with a .htacces rewrite rule but that didn't worked.
1
vote
1answer
575 views

How to put a banner ad between post 1 and post 2 on homepage only

Wordpress Swift Theme is installed on my My site http://tech-ticks.info From last few days, I am trying to find a solution to put an ad banner on homepage only between post1 and post 2. I have ...
0
votes
1answer
722 views

custom, static home page / landing page with Twenty Eleven theme?

I have a custom styled static page that I'd like to set as a home/landing page for a site using the Twenty Eleven theme. I can't seem to find any information on implementing a custom (ie- I made it) ...
0
votes
1answer
121 views

How to show a post single post in page template

Currently I've divided posts into 5 different categories, based on the categories I've created 5 page templates. all of the pages are listed into the home page navigation menu. in my home page I'm ...
0
votes
1answer
389 views

How to remove automatic generated <p> tag in Home page

I am new to Wordpress and need some helps here. I am trying to add posts that have written codes for the demonstrated purpose of programming languages. I installed SyntaxHighlighter Evolved plugin. ...
0
votes
3answers
580 views

Use Single Blog Post as Site Front Page Without Redirect

I am attempting to do something similar to the accepted answer on this question Is it possible to use a single custom post as the site front page My problem is that this implementation causes a ...
2
votes
2answers
4k views

Template file for static posts page does not get loaded?

I have this inside my posts page (set in the admin panel: Posts Page: Blog): blog.php <?php /** * Template Name: Blog * @package WordPress * @subpackage Prominent * ...
1
vote
5answers
3k 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() || ...
1
vote
2answers
517 views

How to check if current static page is frontpage from admin plugin

I set static page as front page. I need to know if user currently on homepage in my custom plugin. Functions is_home() and is_front_page() doesn't works, since homepage is static page. I can get an ...
1
vote
3answers
825 views

Is it possible to use a single custom post as the site front page

I know I can set a static page as the homepage but is it possible to set a single custom post as the site front page? I created a custom post type called "portfolio" where users can add all the work ...
1
vote
1answer
2k views

How to get the original post_id of a static home page?

I can't figure out how to get the original post_id of a specific page if that page has been set as the static posts page of the blog. I have a page that normally has a post_id of 95, but as soon as I ...
1
vote
2answers
1k views

is_front_page() not working

I'm trying to load a script from functions.php just when I'm on the front page. I set a static page called "home" in the reading options. The home page loads the front-page.php template correctly but ...
0
votes
2answers
750 views

Optimal way to redirect home page to category archive?

Question What'd be an optimal way to redirect the home page of a WordPress site to a category archive without involving external factors (e.g. Apache's .htaccess) i.e. within WordPress? Why? (Only ...
0
votes
0answers
63 views

/Page2 shows the same posts as /Page1

My issue is that i use this plugin http://wordpress.org/plugins/page-layout-builder/ But when i on my frontpage, press on the 'page 2' button, it then shows page 2 but with the same posts as page ...
0
votes
1answer
192 views

Hide parts of the post content on the home page

I have a post that contains a video (or a slider) and some text. Is it possible to hide the text on the home page, but still display the rest? How would I do that?
0
votes
1answer
215 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 ...
0
votes
1answer
264 views

Conditional get template part

My index page look like this... <div id="ad-id">google ad code goes here </div><br /> <div id="post-id">My posts are goes here</div> I use ...
0
votes
1answer
656 views

How to Set an Individual Homepage for Each User?

I would like to give my users the ability to customize the homepage of the site. For example, if somebody is not logged in only the default categories appear. Once someone creates an account and ...
0
votes
3answers
273 views

Random and Erroneous Wordpress Redirect

Would somebody mind postulating and possible reasons why their is an automated redirect on my homepage that adds /admin to the URL. Please visit www.divethegap.com/update. You will see that it ...