The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
175 views

is_front_page breaks with url parameters generated by a plugin

I have a website that displays a specific layout feature only on the homepage, and this is working fine. However, the client has suggested that they would like the website to be bilingual, and so I ...
0
votes
1answer
494 views

How not to show leave a Reply to Home Page?

I have made my Front Page as a Static Page. The Page is having a Introduction Content. I am showing this content as an introduction to the site. But it displays "Leave a Reply" Box below it. I do not ...
0
votes
1answer
261 views

Installing Google analytics to home page

I've installed a plugin that puts google analytics code to the page of each post. But it did not install google analytics code to home page and because only a small portion of users click on the ...
2
votes
2answers
664 views

how can I remove the sidebar from my wp homepage [closed]

What's the best practice when it comes to removing the sidebar on the wordpress homepage? I'm using wp Version 3.2.1 and Skeleton Child Theme 1.6
0
votes
1answer
7k views

How to show Home Page link in Wordpress Menu and how to add an icon to this?

I tried with this code: function home_page_menu_args( $args ) { $args['show_home'] = true; return $args; } add_filter( 'wp_page_menu_args', 'home_page_menu_args' ); but gives me this error: Error ...
0
votes
1answer
275 views

Duplicate homepage to show posts from 1 category

I'm trying to accomplish the following: I wan't to display all posts from a certain category on a page that has the same layout as the homepage of the actual blog. I found the following online to ...
0
votes
1answer
249 views

Can I change the “Home” text in the menu?

I’m pretty sure this can be done with a filter or some kind of find and replace, but I’m not sure how. I have a page called “Home” like so: When the link is displayed in my template it says ...
0
votes
4answers
1k views

Disable all other page except index,register,login till user login

I need to block access to all other content except Index,wp-login.php, register.php till the user login. how to accomplish it. i created everthing but, when i try mysite.com/members it shows the page ...
0
votes
3answers
2k views

Twenty Eleven: Home Page, View full post of most recent post & Summary of the rest

I am using the Twenty Eleven theme and need to show the full content of the latest post and then show the rest as summary. I'm looking for instructions/help on how to display, on the home page, the ...
1
vote
1answer
4k views

How to get the true permalink of the static home page?

I asked a very similar question earlier today (http://wordpress.stackexchange.com/questions/30392/how-to-get-the-original-post-id-of-a-static-home-page) and thought I had the answer, but now it ...
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 ...
16
votes
2answers
11k 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
2answers
638 views

get_posts not working on homepage?

I have a simple custom shortcode plugin where you give it a tag and it'll display the titles of all the posts with that tag. e.g. In my post if I type "[listposts tag=oct-2011]" it will output the ...
0
votes
3answers
2k views

Show only preview of posts on the homepage?

Is it possible to only have a couple lines shown per post (or even 0 lines) on the homepage? Instead of dumping the whole article on the page?
0
votes
2answers
262 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 ...
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 ...
1
vote
4answers
3k views

Show content only on front page?

I want to add some content (slider) only on the home page. I don't want it to apear on the other pages. I am trying following: <?php if(is_home()) { ?> <div> ... <div> } ?> But ...
0
votes
2answers
588 views

Exclude function from homepage only?

There is a function in a theme that I am using that does some pagination stuff. I do NOT want that function to show up on my home page (only), so I'm trying to set up an if/else statement but can't ...
0
votes
1answer
172 views

Comments on homepage (index.php) are duplicated under posts

I am displaying WP comments on homepage in my index.php file, but the problem I have is that some comments are displayed under each post. The comment number is okay, but the comments are assigned ...
-1
votes
1answer
196 views

Set home page to last page of a certain category

I want to create a new website with reversed pagination (I mean latest post is found in last page , while oldest one is found in first page) I could do that already with "Default Sort Ascend" plugin. ...
2
votes
1answer
76 views

Changing the homepage

Is it possible to change the Home page so it's not a blog, but a page? And also is it possible to change the name of the homepage? If yes, how is this done? Thanks, Richard
0
votes
2answers
313 views

Display last comments on home page

Is there a way to select and display the last X approved comments regardless of which posts or categories they belong to ? I just want to show on my home page the last comments added on my site, but ...
0
votes
2answers
111 views

How to exclude my home page from url of my internal pages?

I just definsed at Setting> Reading a page I have created called "home" as my homepage. The change was ok, but since them all my internal pages url shows an extra /home/in their urls. How can I avoid ...
-1
votes
2answers
232 views

different startsite for IOS and change menu

I have a homesite and a second site. They are displayed to normal browsers. But I would like to show IOS and mobile devices the second site as homesite and hide the normal homesite. How can I do ...
0
votes
1answer
83 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? ...
2
votes
1answer
3k views

Wordpress Enqueue for homepage only, functions.php, wp-framework

I'd like to replace my: if(is_home()) { wp_enqueue_script( 'homestuff', get_theme_part( THEME_JS . '/home.js' ), array( 'jquery' ), null, true ); wp_enqueue_script( ...
0
votes
1answer
391 views

wordpress help needed. How to display both home.php and index.php?

Hey guys i recently created a theme. I want to show home.php when a visitor visit home page but all my blog posts are listed in index.php file. Can someone suggest me how to display index.php i tried ...
-3
votes
2answers
615 views

How to display both home.php and index.php

Hey guys i recently created a theme. I want to show home.php when a visitor visit home page but all my blog posts are listed in index.php file. Can someone suggest me how to display index.php i tried ...
1
vote
2answers
2k views

Developing different website editions based on countries?

This is what I want to do User accesses the website from US or UK OR X country. User gets redirected to a particular edition of the magazine(online) depending on the country that he/she is ...
0
votes
2answers
305 views

How can I confirm I'm on the home page

I have the index.php in themes directory as my homepage. How can I confirm programmatically that the homepage was called in my functions.php? is_home() and is_front_page() is true for other pages and ...
0
votes
1answer
568 views

Allow users to edit home page from WordPress (home.php problems)

I am wondering how do you create a home page with a custom design like banners different layout from other pages while allowing users to edit it. I used to use home.php problem is user cannot edit ...
1
vote
1answer
113 views

Main timeline in a different path

I have a home.php file which I am using as my home page and it is showing a specific page. In my index.php I have my main timeline. But when I access this page I get redirected to home.php. How can ...
0
votes
3answers
2k views

I want Page titles and excerpts to show up on home.php in certain order

In the functions.php, I have the following code added: add_post_type_support( 'page', 'excerpt' ); This allows pages to have excerpts. The reason I want an excerpt is because I want to call only ...
11
votes
5answers
3k 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 ...
2
votes
3answers
2k views

Adding “latest from the blog” to the homepage

I have a big problem and no clue how to solve it :) I want to add a "module" to my homepage (static homepage, not blog posts) that will display the 2 latest blog posts in a very particular way and ...
0
votes
1answer
1k views

What file is the standard frontpage that lists all the posts?

I want to edit something in my theme but i can't find the file that lists all the blogposts on the homepage. In the 'Reading' settings i have: Front page displays - your latests posts as the chosen ...
0
votes
1answer
4k views

Wordpress home page doesn't work, but other pages do. How to rectify?

http://blog.sanspace.in/ My blog home page is messed up. None of the plugins or sidebar widgets are working. Only the latest post is showed that too partially. However, other pages and posts ...
0
votes
1answer
477 views

1 post per category on homepage and counting those posts

What I'm trying to do on my homepage is to pull the latest post from each of 6 categories but then I need the variable $counter to increase (+1) for each post so that I can style them properly. I've ...
0
votes
1answer
429 views

Redirect /home to home.php

In my WP admin's "Pages" section is a page called "Home" with a URL of /home. This page's content gets called by my index.php file. My problem is the /home page is coming up in search results, or ...
0
votes
1answer
2k 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 = ...
1
vote
1answer
537 views

How to show last post of each website of a MU wordpress in HomePage

actually I'm running a wordpress MU website and each website has its own "life" but now I would like to show last X posts of each blog of my network on the homepage. I know how to do it using Feeds ...
0
votes
3answers
289 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 ...
2
votes
1answer
168 views

On Install, which code sets the 'home' option?

I'm just doing some wordpress development and wondered for a brand new install, which code within core is generating the first value that get's filled into the home option? I'm looking for the code ...
2
votes
1answer
698 views

How to link up “read more” on excerpts hack from WP Recipies

I found the code on the WP Recipies page to force excerpts on the home page: function my_excerpts($content = false) { // If is the home page, an archive, or search results if(is_front_page() || ...
3
votes
1answer
3k views

How to find the posts page (home page) programatically

What php code can be used to find the page object that hosts the blogs? Note that this may not be the same as the first page of the web site. In the admin section we can specify in which page to ...
0
votes
3answers
1k views

How can I make my posts on my home page just show summaries?

My home page lists all my recent posts, however it displays each post in its entirety. Is there any way I can force it to just show a preview, such as the first 10 lines? This would enable views to ...
0
votes
4answers
1k views

homepage loading too slow

I transferred a website to VPS and when I open that website, the home page takes too long to load, for me its taking 30-35 secs just to display the home page, but when I navigate the internal pages it ...
1
vote
1answer
145 views

How to make the post summary taller?

right now our posts on the landing page are only showing 2 lines of the content. How can I get the posts to show 5 lines of the content each?
0
votes
1answer
250 views

Add new post redirection [closed]

I don't know whats wrong going on with my website, this is the second redirection problem going on, Whenever I add a new post, After adding title, When I try to add the content, My own websites ...
0
votes
1answer
732 views

Redirecting to home-page when saving any edited code

I am in trouble, I need help. Whenever I edit any theme code in my dashboard/appearance/editor and try to save it, the file is not saved and it automatically directs me to the homepage. I don't know ...