In WP the term `homepage` can be a bit confusing. It is used in the normal way, for the main page of a site, but sometimes also for the page that contains the newest posts, even if this is not the main page of the site.

learn more… | top users | synonyms (1)

0
votes
1answer
496 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 ...
1
vote
1answer
552 views

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

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 and a ...
0
votes
1answer
17 views

how to add a comment button to be displayed only for the posts in the home page [closed]

I need a button which directs to the comments section of that particular post. I want that button to be displayed only in the home page for every post. Can anyone help me with this My website url is ...
7
votes
3answers
291 views

Remove the Homepage Query

I have a homepage displaying the home.php template, containing 2 sidebars with widgets in them. The main query still pulls in the standard 10 posts, but since I'm not displaying these, I'd like to ...
1
vote
2answers
1k views

After updating wordpress 4.5 my homepage and images not displaying

My site is http://exteriorinteriorsdesign.com/ After Updating wordpress 4.5,it couldn't load my images and articles on Homepage, and dashboard also doesn't show when i move my cursor over there. ...
-4
votes
0answers
27 views

Category Post as Homepage

I have several post categories and I would like to only make on of those categories my homepage. An example would be I have three categories with the following url structure mysite/category/cat1 ...
0
votes
1answer
693 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
0answers
9 views

page does not working HTTP ERROR 500 [closed]

I try to put in css color tools and the page was disappeared. how can I recover - reverting the page?
0
votes
3answers
3k 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 ...
2
votes
1answer
25 views

front end publishing not working on front-end page

I have a custom front end publishing form on my website, based on this article. It works perfectly when I put this code inside a page, but when on the front-end page (homepage), it doesn't work, and ...
0
votes
2answers
27 views

Display post formats differently on index.php (loop in function)

I'm a newbie-- please bare with my ignorance here. I've been trying to read other questions about this but so far I can't wrap my head around this. I'm hoping to display post formats differently on ...
0
votes
1answer
24 views

show recent posts php code error?

I'm using this code to show my recent posts in my website: <div class="post_content"> <div class="home_posts"> <?php $args2 = array( ...
29
votes
3answers
18k 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
31 views

Changing home page url depending on user login

I need to change the home WordPress page depending on user type login, When one user login with type='subscriber' I need to redirect this user to another private page and change home URL. I tried it ...
0
votes
1answer
29 views

setting a specific home page for logged in users

After googling, I have a piece of code to set a specific page as home page in wordpress. The code says, add_action('init', 'loginCheck'); function loginCheck() { if (is_user_logged_in()) { ...
0
votes
2answers
8k 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
2answers
84 views

Pagination Not working on Home Page with 2 Query

I have two loops in home page (index.php) <?php $args = array( 'post_type' => 'post', 'posts_per_page' => 3, ); $another_query = new WP_Query($args); if( $...
0
votes
0answers
17 views

Tidying up URL at login/homepage

I am creating a website where you essentially land on the wp-admin from the homepage. I want the website to simply have www.exampledomain.com but have the wp-admin as the homepage with nothing like ...
1
vote
1answer
58 views

Custom Post Type within the Loop on Homepage (Page Template)

I'm trying to achieve something with the Loop and CPT. I've built a template page which will be the homepage of my website displaying articles and videos (the CPT). How can I add the CPT within a loop ...
3
votes
1answer
236 views

display woocommerce all category title on home page

how can i display in my theme all woocommerce category title are custom filed value. example html like bellow <li><a href="#"> <div> <h2>category ...
5
votes
2answers
8k views

How to get post id of static front page?

I'm trying to use the front page as a default of sorts for featured images (if no featured image is set, I want to use the front page's, for example) But I'm having trouble finding out how to get the ...
1
vote
1answer
77 views

Limit posts per author role (excluding admin) in home page

I have multiple authors in my site and want to show just one, the latest post from each one, excluding the administrators. So, if for example: admin1 has posted 4 posts admin2 posted 3 posts ...
-3
votes
1answer
21 views

For some reason my posts are not showing up on my front page

For some reason my posts are not showing up on my front page after some small changes. Any suggestions? http://www.justgoodnewsonly.com/
1
vote
1answer
38 views

Static page does not show my posts

I have a home.php and an index.php. Wanting my home.php (set as static) to display 3 grid style showing 3 posts. This is my current code. <?php // The Query $the_query = new WP_Query( 'cat=4');...
1
vote
1answer
20 views

How to override the theme home page?

I'm using a theme that has it's own home page layout but I want to use a normal page instead. I can't find a way to change it because in Settings> Reading, the home page is already set to 'Home' (a ...
0
votes
0answers
28 views

2 different Home Pages for different language url part

I'm in trouble with multilanguage site I would to have for all pages under url www.example.com/EN An EN HOMEPAGE and for www.example.com/IT another HOmePAGE. How can I dot this? I already know this ...
0
votes
1answer
130 views

The pagination on index.php doesn't work on a first page

I have index.php with a pagination. The permalink settings is plain permalinks. I have a correct pagination view when I open a page '/?paged=2' but if I open just index.php I have all posts without ...
0
votes
2answers
807 views

Displaying Page Title on index.php

I have my posts page set as index.php, and on there I have my main heading (as I do on all pages). I'm having trouble displaying the page's heading however. The page is called 'Blog' in WordPress, ...
0
votes
1answer
26 views

Making draft page as the main page

A very newbie question. I wanted to update my home page. I copied it as a draft and made the modifications. Now.. how do I make it the main home page? It sounds very simple but have been totally ...
0
votes
1answer
54 views

Top level Pages redirecting to homepage!

For some reason after setting the permalink to any other structure apart from default. The top level pages will start redirecting to the home page. I have disabled all the plugins and change theme to ...
2
votes
1answer
63 views

Landing / Static HTML page

I want to use static HTML for a landing page on a WordPress site. For example: example.com - WordPress already running in root folder landingPage.example.com - I purchased this static landing page ...
0
votes
3answers
46 views

How to output the title of the blogs home page

I am using a static frontpage and a page for my blogposts. In my header.php I want to display the title of the selected page of my blogposts. For example: <?php if( is_home() ) echo '<h1>'...
0
votes
0answers
29 views

Display background image on homepage only for agency pro

Would anyone have a technique or advice on how best to have the background image display only on the homepage/front page on the agency pro theme. Thanks
0
votes
0answers
60 views

Adding language attribute to homepage

I have a language plugin that allows me to switch between Dutch (default language) and English. When I select English, an extra attribute is added to the URL: /?lang=en. Now I'm trying to set English ...
0
votes
1answer
252 views

Pagination not working in home page

I'm using Presso theme, if I click on the numbers in homepage to go to page 2 for example, my url becomes page/2/ and the highlighted page number is 2 but the page keeps showing the posts of the page ...
0
votes
0answers
17 views

Page 2 shows same posts as on homepage

I am using Genisis Framework and eleven40 pro theme. And created a static homepage to remove the grid from the homepage everything was going fine but all of a sudden when i clicked on "page 2" it ...
1
vote
1answer
75 views

WP site URL changed to have HTTPS but still homepage does not redirect

I've changed the WP site URL to include https://www & it's been a while. Entire site is correctly reflecting it. But unless I add following in .htaccess, the home page does not redirect ...
0
votes
1answer
271 views

Change homepage content if user is logged in - BuddyPress

I'm creating a Social Network using BuddyPress, a good theme for BuddyPress itself and some plugins included with the theme that help me so much in this thing. I'm trying to do one thing: when the ...
0
votes
2answers
769 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
1answer
62 views

How to get Title of Home Page to Appear on Page

How can I get the Title of a Home Page to appear? I am using the Quark "out-of-the-box" Front Page Template. Home Page "view source": <article id="post-1" class="post-1 page type-page status-...
1
vote
2answers
72 views

how to make a home page for wordpress custom theme

How does we create a custom home page for word press theme like used in themes for theme forest market. Because mostly the home page is used for recent posts to be shown, but I am having no idea how ...
0
votes
2answers
134 views

How to get home page ID?

I'm building a Wordpress plugin in which I need to get the HOME page ID value. Do you know how can I get it? I know that we can get the current ID with the_ID() or get_the_ID() function, but I need ...
0
votes
0answers
21 views

WP home page loops

I found a post regarding loops on home page. Pagination returns 404 after page 20 I have several post categories. On the home page I want to loop through two of them in two different loops and ...
0
votes
3answers
119 views

Fixed home page

I am new to Wordpress. Forgive me if this is a simple question. How do I make a fixed (static) part (section) on the front page (home page) of WordPress site before the blog part? Thank you in ...
0
votes
2answers
50 views

Echo Most Recent Sticky Post in Loop?

I am looking to echo the most recent post in the loop of content. Only 1 post. Do I need to put some sort of parameter on the following code: if (have_posts()) : while (have_posts()) : ...
1
vote
3answers
5k 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 ...
0
votes
1answer
77 views

How to remove related post from home page

I am using thesis i am displaying related post using bellow snippet code.My problem is that i dont want load related post on home page.with the css trick we can make it display none but it loads so i ...
0
votes
2answers
78 views

Override static home page post

In functions.php is it possible to dynamically set the static home page? The condition could be anything, but for example by domain: if ( $_SERVER['HTTP_HOST'] == 'domain-one.com' ) ...
0
votes
0answers
88 views

Wordpress loop not working only on home page, works on all other pages

I'm currently working on a new WP theme. I was working on my theme locally and it was working perfectly without any issues. Since I moved the theme to my dev server, everything has worked except ...
0
votes
1answer
102 views

Hide posts belongs to few categories in homepage

Currently I am using all the latest posts are displaying in the homepage settings. But now I need to hide few specific categories to be displayed in the homepage. All the post belongs to those ...