The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
2answers
22 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 ...
0
votes
0answers
11 views

Display Comments list and a Comment form in home page inside while loop

I am trying to get a list of comment and a comment form in the home page inside while loop for displaying latest post which shows one latest post. I tried with <?php $withcomments = "1"; ...
0
votes
0answers
14 views

How to show a distinctive “header” (about me) on the home page?

I want to show a distinctive header at the top of the list of the blog posts on the homepage of my site, but not the other ones. This will have a brief bio of myself & a photo. I don't want this ...
0
votes
1answer
21 views

How to exclude the 'featured' category from posts feed in the homepage?

I have two sections in my home page - featured and the default recent posts feed. The featured posts container displays all the posts under the category 'featured'. But it is also displayed in the ...
0
votes
2answers
29 views

How to change home page only in WordPress

I am a newbie in WordPress theme development. I have a WordPress site on online. I create a new home page for my wp site and I want to use it my wp site instead of old home page. And I want that the ...
0
votes
1answer
25 views

Use page.php for front page

For some reason even when I am selecting a static page for my homepage it is still choosing to load the index.php file. I would really appreciate your help on this as I would like it to load my own ...
0
votes
0answers
34 views

Wordpress website homepage (only) stuck in maintenance mode

My website only shows the "Briefly unavailable for scheduled maintenance. Check back in a minute." message only on the homepage. Been stuck for two days, don't really know how to fix it. What did I ...
0
votes
1answer
24 views

Create a front page template and separate page for posts?

I'm building a WordPress theme. I need two type of pages, one is home page which will display on www.example.com. I also need a list of all my posts on www.example.com/blog/, but I need both in one ...
0
votes
2answers
58 views

I restricted wordpress by logged users. It's possible exclude a page?

Here is my code for restrict my wordpress site: function restrict_access_if_logged_out(){ if (!is_user_logged_in() && !is_home()){ $redirect = home_url() . '/wp-login.php?redirect_to=' ...
0
votes
0answers
19 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 ...
0
votes
0answers
16 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
26 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', ...
-1
votes
2answers
84 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
32 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
68 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
62 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
1answer
68 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 ...
0
votes
1answer
41 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
48 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
69 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
32 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
104 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
38 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
29 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 ...
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
3answers
624 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 ...
1
vote
1answer
58 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
32 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
321 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
51 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
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
61 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
132 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
98 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
114 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
2answers
96 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
22 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
92 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
62 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
128 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
2answers
80 views

How to create an archive for all posts that do not have a post format?

The title says it all. I need working pagination, correct post count etc. Basically a new page for posts but with a filter for post formats. Things I have tried so far: 1) Created a new rewrite rule ...
0
votes
1answer
227 views

get_the_post_thumbnail($post->ID, 'thumbnail'); not working. How can I solve this?

I am using the following code to display the posts on my home page. But I could not print thumbnails using get_the_post_thumbnail($post->ID, 'thumbnail'); any help to solve this will be very much ...
1
vote
1answer
37 views

How to disable (get rid of) home page main loop entirely?

I'm using a custom theme, the index page doesn't depend on the main loop for home (which by default get the latest 10 posts for example). How can I get rid of the home loop entirely, so the index ...
0
votes
1answer
27 views

Change header when on home page

Im trying to make my home page have one type of header which is different from every other page. I have made a page the front page in the settings called home and in header.php i have changed the code ...
0
votes
1answer
2k views

how to add home icon instead of text in wordpress menu

i need to add "home.png" icon image as home button instead of text for example i searched this question in google and find out a way, but that didn't work. the method mentioned in those sites are ...
0
votes
2answers
499 views

custom post type index page

I have registered a custom post type and I want to create a page where I will list some posts, it will be like an index page. I have created an archive page called mycpt-archive.php and a page called ...
0
votes
0answers
25 views

How can I forward just my homepage but not internal pages?

I'm using a page builder to create and test different versions of my homepage as if it were a landing page so I can A/B test it. That page builder is hosted on a different server than all the rest of ...
0
votes
2answers
101 views

Style something only on the home page

I am relatively new to Wordpress, but I'm sure there's a way to do what I'd like to do. I have a container in my template, and on the home page I'd like to specify slightly different padding to this ...