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

learn more… | top users | synonyms

1
vote
1answer
212 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 ...
3
votes
2answers
497 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
894 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
135 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
865 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
221 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
172 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
93 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
427 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
85 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
173 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
139 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
124 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
190 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
79 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
526 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
28 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
1k 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
203 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
121 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
163 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
168 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
39 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
702 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
52 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
72 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
869 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
320 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
528 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
160 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
101 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
963 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
200 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' ); ...
2
votes
1answer
1k views

home.php or frontpage (via settings) for theme?

OK. I'm getting conflicting instructions from my training resources (again). This time the issue for me is "how to set a default homepage". One tutorial (Coyers "WordPress 3: Creating and Editing ...
1
vote
3answers
344 views

Showing option when page is frontpage

Currently I'm having some difficulties with below snippet. As it currently works it shows the_excerpt_rss on a single post and single page. AND it shows the option on is_home(). But what if a page ...
0
votes
1answer
104 views

is_front_page use in sidebar.php

I want to introduce some code into sidebar.php dependant on whether the site was on the front page or not. ( I have a static front page and am using the front-page.php file ). To cut a long story ...
0
votes
1answer
45 views

I need advice on how to structure the categories according to the layout i have

I'm seeking advice on how to structure the categories so it fits well my page structure: The main highlight is a single post and the secondary highlight boxes will probably contain a slides showing ...
13
votes
1answer
5k 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 ...
0
votes
1answer
148 views

Make 'Page' slug the 'index'

I want to have my Index page show posts from a certain Category ('news'). I have that functionality, but is there a way I can make a 'News' Page, where the slug just points to the index?
0
votes
2answers
181 views

What is the advantage of using home.php over index.php for the front page

I am building a theme and wondering whether or not to include a home.php file or not. The theme (which will not be available to the public) will be mainly used with a static home page and separate ...
0
votes
1answer
332 views

Static front page with excerpt

I'm currently developping a theme for WordPress, and I have run into a little issue. I have to display some text as well as a "latest articles" list on the front page. I have the front page set to ...
0
votes
2answers
548 views

Best Practice for Displaying Categorized Posts on Front Page

I am building a custom wordpress theme from a clients mockup. On the homepage there are 2 sliders, and 4-5 areas for recent posts of different types. I would like to have all the content be editable ...
-1
votes
1answer
650 views

plugin: 'init' hook, check if we're not in admin

I've tried this inside of my plugin ('init' hook) but it doesn't work: if(is_front_page() || is_singular() || is_archive()) { ... } How could I check it using init hook? Thanks.
0
votes
1answer
76 views

Theme Development -> Specific Homepage

I am a beginner to starting a Wordpress template from scratch, so I am open to any helpful links or help that can be given to me :) Questions: What would this file be called front-page or home.php? ...
0
votes
1answer
1k views

How to show full post on home page

I am using the Yoko theme and would like to show the most recent full post in category 1 on the home page. I am a Wordpress newbie, but my approach was going to be to provide my own index.php in a ...
0
votes
1answer
254 views

Using front-page.php need new blog page

I'm using front-page.php to generate a static frontpage for a Web site I'm working on. I can't seem to get Wordpress to display the blog posts on any other page. I tried creating a custom template to ...