The tag has no wiki summary.

learn more… | top users | synonyms (1)

2
votes
2answers
272 views

Wordpress image resizing on home page (product category)

I have been working on resizing the images on my wordpress website, the images are not appearing on equal sizes or not aligning properly. But inside the product pages it looks normal size but in the ...
0
votes
2answers
277 views

Conditionally exclude post from specific category on home page sidebar?

I want to exclude posts from one category. These posts should not show in the sidebar on the homepage only when I explicitly don't want that particular posts to show. In all other cases these posts ...
0
votes
0answers
12 views

I restricted wordpress by logged users. It's possible exclude only one landing page?

Here is my code for restrict my wordpress site: function login_redirect( $redirect_to, $request, $user ){ if(isset($_REQUEST['redirect_to'])){ return $_REQUEST['redirect_to']; } return ...
0
votes
0answers
18 views

Page appearing two times in the frontpage? How do I completely remove that page from the frontpage?

I have this Wordpress website I'm working on as third party. I have to give this Wordpress its final touch. There is a Page named Impressum and it's appearing two times in the frontpage, I need to ...
14
votes
2answers
6k 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
0answers
14 views

Clicking on a new blog post shows the homepage

I'm a newbie to WP and have recently come upon an issue after installing the plugin WP Permastructure. When I click on new blog posts, the static homepage is displayed. However, clicking on posts ...
0
votes
2answers
873 views

Use a different template/theme if mobile only on home page

I have looked around and can not find anything that fully works for my issue: I want to be able to set the home page template on the fly when a user is visiting from a mobile phone but not a tablet. I ...
0
votes
2answers
25 views

Is It Possible To A Link To The Homepage From The Admin Sidebar?

The closest I've managed to get is: function redirect_to_local_110(){ wp_redirect("/", 302); exit; } function add_home_link() { add_menu_page( 'Course', 'Course', 'read', 'home', ...
0
votes
3answers
2k 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 ...
1
vote
1answer
293 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: ...
0
votes
0answers
14 views

How do I show only the latest post on my homepage?

I was wondering how I could set up my blog so that it only shows the latest post on the homepage. I do not want to have to change anything code-wise. How would I do this?
-1
votes
2answers
36 views

show all custom posts types in home page

Hi i am working on custom post types in wordpress presently we are using below code to display the custom posts, but the thing is the custom post types are keep on increasing, add_action( ...
0
votes
0answers
23 views

Set a Category As My Homepage using add_rewrite_rule

When someone visits the homepage of my wordpress site: http://www.mysite.com/wordpress/ I want them to see the contents of this page: http://www.mysite.com/wordpress/category/cars/ Attempt # 1: ...
0
votes
0answers
38 views

Custom post type is showing custom home page, not archive page

I have a custom post type set up (two, actually) that are not displaying properly. I am hoping that it is the same issue with both post types. Here is my code for one of the post types (portfolio). ...
1
vote
3answers
54 views

Can I set and show “important” post in my blog?

I have the following doubt related to the WordPress posts showed in the home page. I know that in the home page I can show the latest published posts. But can I also show (before the latest posts) a ...
0
votes
3answers
439 views

How can I conditionally show different home page templates based on whether or not the user is logged in?

How can I conditionally load HTML for the home page based on whether or not the user is logged in? Currently my theme has an index.php file. In that file I tried to create: <?php ...
0
votes
1answer
37 views

get_post_meta fields don't show up on posts page

I'm new here, and to coding! I've been working hard (so, so hard...so hard) to create my website and with occasional help I've created a look and feel I like using some custom get_post_meta fields for ...
6
votes
3answers
5k 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 ...
0
votes
1answer
153 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 ...
0
votes
2answers
843 views

Add a meta description to home page?

I have the theme Hatch and I can't figure out how to change the meta-description of the home-page. It is not an actual page, it is the default view for posts. Have searched everywhere for an answer ...
0
votes
1answer
37 views

3 x 3 grid of posts on the home page

I'm using Wordpress as more CMS than blog, and I want to create a theme that uses 9 specific posts on the home page. I don't want those posts to show up in other lists. I don't want other posts to ...
0
votes
1answer
46 views

Setting a homepage - doesn't seem to work

have a page (home) that runs a template page-home.php that I can access at mydomin.com/home. I am wanting to have this as my static homepage page, so accessible at mydomain.com/ however I cannot seem ...
0
votes
2answers
39 views

Add a static page that links to homepage

My home page is a dynamic page and on my navbar I have different static pages I want to add one to link to the homepage as if I clicked the logo.
2
votes
0answers
56 views

Keep featured content post in homepage with original order

I'm searching how to keep the featured post in my blog homepage without excluding it from query post. My blog uses the Twenty Fourteen theme. I found this solution. Open the featured-content.php ...
0
votes
0answers
28 views

Multiple recent Custom Post Type (CPT) on homepage issue

I have created a homepage template which shows multiple CPT's on homepage and its working fine. I have limited these CPT's to show only 1 recent post on home page using this function. function ...
-1
votes
1answer
74 views

Have image slider display only on home page

I have placed a image slider in wordpress theme, however it is showing on all pages. I only want it to show on my home page. This is the code I have for it in my header.php childtheme <?php /** ...
0
votes
0answers
37 views

404 error on every post and page other than home

I am developing a wordpress theme and I think at some point I messed something up pretty badly in the wordpress system because nothing works anymore. I have tried several different themes, mine and ...
0
votes
1answer
30 views

I want to duplicate homepage for all my pages

I want to duplicate my homepage then call the pages A. page b & c. - So that I can edit just a few things on all the pages. I already have some pages but I can't get bits exactly the same.I copied ...
0
votes
1answer
28 views

How to change page location in Wordpress

I want to change my page location (link address). My blog page location is: http://localhost/wordpress/?page_id=1336. I want to change blog page location http://localhost/wordpress/?page_id=1336 ...
1
vote
3answers
3k 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 ...
1
vote
1answer
54 views

Properly display posts on homepage

I'm having trouble displaying posts from a single category on the homepage the way I want them to appear. The theme I'm using uses a 3 column layout for the homepage and a content-sidebar layout for ...
0
votes
1answer
27 views

Setting a permalink for the home page?

I have a static default wordpress home page. As you know if you have a homepage on wordpress you can not set a permalink through the admin options, you can only set permalinks for non homepages. Does ...
0
votes
2answers
208 views

Shows only one Category in home page

Hi i'm trying to change the home page, because i'd like to have a slider and down only one category of article. you can look at the page on line: http://goaboa.it/home-2014/ I cannot see anything ...
0
votes
2answers
42 views

Try to run a function only on Home

I'm trying to run disable auto p filter on only my home page. In my functions.php file, I added this snippet: function removeP(){ if ( is_page( 4 ) ) { remove_filter('the_content', ...
0
votes
0answers
64 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
1
vote
2answers
583 views

Can't change parent page

Some of my pages are children of "home". I want to assign them to a new page. But I cant change the pages parent. Everytime I try and publish, it just switches back to "home". I am using the ...
0
votes
0answers
13 views

Home link is directing to a different blog.

Whenever I view my blog as a user and I click the Home button, it leads me to an old blog of mine. What I'd like it to do is go back to the base of my blog. I'll try to be clearer: I'm on ...
0
votes
1answer
57 views

the_content() won't load galleries on homepage

I need to show a gallery that's on the content of one of the pages I'm displaying on the homepage (I altered the query so it would display pages instead of posts). If I open the page directly I can ...
-1
votes
2answers
99 views

How to set a default page for load first time?

Now I am creating a WordPress site for an academy. But my client has more than one site. So I need to set a home page that contains choose site option at first time. Simply I need to set a home page ...
0
votes
1answer
72 views

How to hide something from custom home page with php code?

I need help to get the issue resolved. I have a wordpress custom-made site and it is with a custom home page. The index page of the wordpress site is used for updates purpose(blog). I want to hide ...
0
votes
1answer
83 views

Display DISQUS on homepage

I have installed disqus and I want it to show up on my homepage. It replaced the old wordpress comments system on pages and posts but I also want it to appear on index.php my index.php file now - > ...
1
vote
1answer
1k views

How can I get multisite primary blog (url or path) for current user?

In a multisite setup, when users are visiting a blog/site that there are not a member, I would like to display a link to "HOME" that takes them to their "primary" blog. I know how to determine if a ...
1
vote
2answers
79 views

Best way to assign post position in a news site homepage? (no categories, no sticky posts)

I'm currently redesigning a local news website. The old design used a whole lot of categories to handle the position of the content in the static homepage as in "top news", "middle box", "left box" ...
0
votes
0answers
40 views

Why does logging in to my wp-admin redirect to my homepage?

Whenever I login to my dashboard I will have to manually go to the dashboard because my websites goes to the homepage first. Is there a reason for this? How do I redirect to the dashboard whenever I ...
0
votes
0answers
21 views

When click Update button all changes are lost

when I update the slider on my site's home page and click preview changes, I can see the changes. But when I click Update everything is lost. What causes this? How to solve this? Any suggestions will ...
0
votes
2answers
75 views

creating single page with 2 columns while theme is 3 column

I am using Diapason theme , which gives me an option for both 2 column or 3 columns...My requirement is 1:- all pages except home page (static) should have 3 columns 2:- Home Page should have two ...
0
votes
2answers
59 views

Wordpress Home Page

I'm setting up Wordpress version 3.8.1 on my website. It's installed at the domain root (http://www.mywebsite.com/[wordpress installation]). I added a "Home" page. Afterward when editing the menu ...
7
votes
1answer
104 views

View homepage in a preview mode

Is there any way to view your homepage in a preview mode, so that I can check how my posts will look on the homepage before publishing them (i.e. to make sure the featured image looks right etc).
2
votes
1answer
678 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() || ...
0
votes
1answer
164 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 ...