The home page of a site. Could either contain the blog index, or a static page.

learn more… | top users | synonyms

1
vote
2answers
448 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
2answers
360 views

Can I hide a specific post from latest posts page?

Let's say that I have a post that I only want to be shown in the page of the category that it belongs to. The problem is that this post is also visible in the latest posts page. Is there a way to ...
0
votes
2answers
2k views

Static page homepage not showing the_content

I must be doing something wrong here. I setup my site with a static front page using front-page.php. I created a page in the admin with a title and chose the front-page.php in the template dropdown. ...
3
votes
4answers
609 views

Facebook comments box on front page

I have a WordPress 3.5.1 installation on my WordPress Shack, with the Facebook plugin 1.3.1 installed and the TwentyTwelve 1.1 theme. I have the settings on Facebook - Comments box so that I display ...
2
votes
1answer
22 views

Output shows a page instead of a list of blog postings

I have the below code in front-page.php (with that page set in Settings > Reading); however, something is wrong because the posts aren't showing. The output is shown below. Can someone identify what ...
0
votes
1answer
55 views

Why: sticky front page code, shows latest non-sticky on logged-in front page

I have this code to display only the latest sticky post on the front page. the strange thing is that, when I'm logged-in it shows non-sticky latest post, even if it's private... <?php ...
1
vote
3answers
76 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 ...
2
votes
1answer
306 views

is_home() in HTML head

Is there a way to check if the current page is the home page from within the head? My style.php needs the number of posts in the slider, but only on the home page. So I count my posts like this: ...
1
vote
0answers
160 views

Pagination w/Static Front Page

I'm trying to add pagination to my frontpage. It's currently set to Settings --> Reading --> Static Page --> Frontpage: home I'm using a custom template for the homepage. I have my ...
0
votes
1answer
789 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(); ?> ...
-1
votes
1answer
61 views

How to access the so called “Posts page”

This might be a dumb question - I'm sorry for that but: If I decide to alter "Reading Settings" and choose a front page for home I can define a "Static Page" and a "Posts Page". "Static Page" ain't ...
0
votes
1answer
360 views

Custom URL for all posts in Wordpress

I have a wordpress site with static page as the front page. I want to have /blog to display the recent posts. How can I do that? thanks.
0
votes
1answer
384 views

Create a frontpage.php and static page template

I am a little confused. Reading settings : 1) Front page -> Home -> Frontpage.php 2) Posts page -> News -> pages_news.php [this is custom page template :Pages Custom news ] From Pages: 3) Pages -> ...
1
vote
1answer
249 views

Arrange posts by date in front page

I have code to show the 5 last posts from every category on the front page. However, at the moment they are ordered category by category. Is it possible to order them by post date, but still have 5 ...
4
votes
3answers
757 views

Category page doesn't use category.php, instead it redirects to homepage

I am currently modifying a theme. This theme doesn't had a category.php I needed a custom category page. So, I made one. It works on my local server, but when I uploaded it to a real server, this page ...
1
vote
1answer
1k views

Filter front page posts by category

I have three categories (news, pics, vids), but I have all of them showing up on my front page. I would just like the front page to have the news category (and possibly uncategorized category) to ...
0
votes
1answer
152 views

Restrict query to last day with posts

I am using the Delicacy theme. I want to show n my homepage the posts of the current day. But if there are no post for that day it shows "No found". I want to show posts from the last day with posts ...
1
vote
1answer
1k views

How to display thumbnail and excerpt of a page on homepage?

How to display attached thumbnail and excerpt (about 200 words) of a page on homepage? <?php $page_data = get_page( 401 ); // Get page ID 401 echo '<h3>'. $page_data->post_title ...
0
votes
1answer
245 views

Can index.php take over for front-page.php in template hierarchy on second page?

I'm confused by the template hierarchy in WordPress. I have front-page.php in a theme I'm developing. It looks great and it works, but then when a user clicks 'Older Posts', it just shows the same ...
0
votes
1answer
1k views

Display post details by post ID

I need to display post details by ID on front page template (front-page.php). On the front page I want to display the post’s title, excerpt & featured image. I have tried to do that but no idea ...
0
votes
1answer
192 views

dynamic sidebar in front page

I am developing TwentyTen child theme and wish to display dynamic sidebar on front page, but something is not quite right. I modified loop-page.php: <div class="entry-content"> <?php ...
1
vote
2answers
99 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: ...
1
vote
2answers
585 views

Custom background for the index page only?

I am stuck at add_custom_background. I can change background color/image but I only want to change my index page. Currently, the changes apply on the whole page. I want to make the changes from ...
1
vote
3answers
87 views

How to find the page the front page is using?

I use WordPress theme Shiny. I had someone else do my site and now I am trying to figure out how to edit the homepage. The theme version is version 1.0.2. How can I edit my homepage?
-1
votes
1answer
191 views

WordPress sections in htaccess kills FrontPage permissions

I have WordPress running in the public_html directory of my web server (i.e. the primary domain on my account points to this directory). There are subdirectories off of this folder that are for other ...
0
votes
2answers
172 views

posts not showing on index.php

Live site. I've got a custom theme, wherein the homepage(front-page.php) is static and the "posts" page is Press(index.php). Everything with the theme works great, with the exception of the posts not ...
-1
votes
1answer
135 views

Static front page as parent of with child pages?

I am trying to produce a static front page that has child pages, so that the menu looks like the following: About (static front page, parent page of "CV" and "Address") -CV (child of "About") ...
2
votes
1answer
203 views

Pagination is somewhat working on frontpage, doesn't update when “prev” is clicked

I followed the very simple tutorial that's on this page: http://wp.tutsplus.com/tutorials/wordpress-pagination-a-primer/ (Scroll down to "A Better Solution") - He makes it seem so simple, and it works ...
0
votes
1answer
82 views

Static Page redirects to Frontpage

There is a static page named pcmuskel.de/ratgeber. Trying to access this URL wordpress redirects me to the frontpage. I had this page set up as frontpage before but it didn't work. The frontpage ...
6
votes
3answers
652 views

How to add “Stick this post to the front page” to front end?

I have a baseball related website with multiple authors. I use the "Stick this post to the front page" to denote an "Editor's Pick" on an article. I would like to add a link/button to allow editor to ...
0
votes
1answer
29 views

static front page ONLY for certain themes?

A theme I am developing depends on there being a static front page. However, there seems to only be one global option to change if front page is static. So when I go to preview the theme, it won't ...
1
vote
2answers
2k views

wp_title() empty on a static front page

I'm trying to use wp_title() to create a heading for my pages, but I'm using a static front page and, while all of the other pages render the title properly, the front page won't. This is what I'm ...
0
votes
2answers
229 views

NON Static-Front Page

There is lot of documentation on how to have a static front-page in wordpress. I need to have a dynamic front page, in particular a group from buddy press. The link is ...
1
vote
1answer
134 views

Template hierarchy about pagination after front-page.php

Quick, simple. I have front-page.php working in Wordpress, and these loops over the main loop for my latest posts. The problem is the pagination template. When I get to site.com/page/2, it shows the ...
0
votes
2answers
179 views

Front page welcome message area

How i can create a welcome message area for my frontpage with backend control {admin panel} Welcome message
1
vote
2answers
176 views

Set front page option using custom fields?

Hello wordpress gurus! I want to be able to set the frontpage via a custom field. So for example, in the new page area in the wordpress admin there is a custom field that displays "Set as frontage", ...
0
votes
1answer
40 views

custom change in front page [closed]

I want to remove the archive widget on the front page. How do I do it please? The archive section is at the bottom of site. Kirkuk Now Best Regards
2
votes
2answers
807 views

WP Multisite Static Frontpage

I created a multisite and my question is as followed: Im trying to display a default static page for each new site. So when they create a new site, they automatically get a default page I made. This ...
0
votes
1answer
55 views

Use Post as Front Page

Is there a way to use a post as the front page? I'd like to be able to call the latest post from a given custom post type, in a certain custom taxonomy and with a specific term and use this as the ...
1
vote
0answers
74 views

Home/front page won't display content after a form is submitted

I have setup a WordPress site using just pages (no posts) http://dev3.sugarvine.com/ I've created all the pages in the backend and made the 'About' page the front page. All the pages use index.php to ...
0
votes
1answer
1k views

page.php – is_front_page NOT WORKING

I'm trying to target my landing page with is_front_page or is_home in my page.php file but it's not working. I have set the settings > reading to a static page. However, if I create a page-home.php ...
0
votes
2answers
456 views

White screen on front page only

I've got the famous white screen, but only on my home page. Deeper pages load just fine. I moved my themes directory to themes-old and made a new themes directory that only has twentyten in it. I ...
0
votes
6answers
562 views

how to create a static front page for my blog in wordpress

I need php code to create a static front page for my blog.how do it by php in wordpress.anybody can help me.
0
votes
2answers
173 views

Show a different code on front page to other pages

I'm looking to display a list of posts in the header section on my template on all pages with the exception of the front page where I would like to show an image in place of the list of posts. Is ...
4
votes
2answers
3k views

How to make my front page display only the most recent sticky post, plus usual widgets?

WP 3.3.1, Suffusion 4.0.2 I am trying to figure out how to make my front page display only the most recent post marked sticky. I can't find how to do this in the documentation. What I'm trying to ...
0
votes
1answer
139 views

Problem with custom page template and permalink

I created custom page template for news template_news.php with name template name: news and i created a page and configured for that page also i set permalink to /news/%postname% also i set ...
0
votes
1answer
59 views

Linked pages from plugin on front can't see $wpdb

I obviously need more knowledge re this one. From my plugin. I have a custom main page which displays my custom db data table of a list of stores. Each store has a "link" ie using a href eg. <a ...
2
votes
2answers
2k views

is_front_page only works in theme file, and does not work in functions.php

If I use is_front_page() in my front-page.php file it works as expected. However if I use the same function in my theme functions.php file it does not work. Is this normal behavior? If not can it be ...
2
votes
1answer
1k views

Frontpage pagination issue with paginate_links() function

I'm using following snippet to output pagination: // get the current page if ( get_query_var('paged') ) { $current_page = get_query_var('paged'); } else if ( get_query_var('page') ) { ...
0
votes
2answers
238 views

Remove edit post link from static front page

Checking for front page with either is_home() or is_front_page() still removes the edit link from all pages/posts. What's wrong with this? add_filter( 'edit_post_link', 'foo_edit_post_link' ); ...