The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
1answer
19 views

How do I make a page the landing page?

On my website, I have made a new page which I want to set as the homepage. How do I make this page the landing page? Please guide me. Thank you.
0
votes
3answers
3k 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
0answers
20 views

How to stop redirect to 404 page when I use jquery onchange function to select a value from a form field in wordpress

I'm developing a wordpress woocommerce website where I put a form where two drop down exists. where selecting a value from the first dropdown after page refresh it automatically goes the second ...
0
votes
1answer
326 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). ...
0
votes
1answer
18 views

How do I change the home page to the registered user's profile page

I have a custom profile page for my users. I need to have wordpress redirect the homepage to the user's profile page if they are logged in. If they are not logged in or registered, wordpress would ...
0
votes
3answers
2k 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
2answers
358 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
1answer
207 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 - > ...
0
votes
2answers
3k 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
3answers
4k 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
48 views

Disable pagination on frontpage

My home page is being build on index.php. I have a wordpress loop somewhere there, because I want to show the two latest posts. So my problem is that my homepage is being paginated. I don't want that. ...
0
votes
0answers
17 views

Proper way of manipulating a category on your homepage?

I'm using the Genesis theme, and attempting to create a function that finds the homepage AND a specific category, and removes post content under both those conditions. Using my limited knowledge I ...
0
votes
0answers
35 views

Custom query with pagination on home page

My home page need to retrieve some posts and break them into number of pages, so that I can load them using infinite scroll plugin. I have tested my query, it works as expected. however I can't seems ...
0
votes
1answer
29 views

Custom display for homepage, tag and author pages

I need to have pages where the first post on the page has a special format. I've figured out how to modify loop-home.php to get the result I want outputted on the homepage. I want to have the same ...
0
votes
2answers
342 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
1answer
24 views

the_permalink on the homepage vs posts for sharing links

Instead of weighing the site down with plugins I've hardcoded a couple of sharing links. I've used the_permalink to create the links, in the sidebar, which work ok on posts and pages, but on the ...
0
votes
1answer
41 views

Hide text if not homepage

I want to add text but only appear on the homepage only. I have used this if script: <?php if( is_home() ) : ?> <p>Some text</p> <?php endif;?> but the problem with this is ...
0
votes
2answers
38 views

How to Use index.php file for “Blog” Page And this is Not a Home Page

I Created a Page(from Pages -> Add New) Called "Blog" when click the "Blog" menu in header I want to display the posts from default post not Custom Post Type How to do this ?
1
vote
1answer
104 views

Better way to display posts from specific categories, in a grid layout

I'm using the following code to display posts from a specific category, in a grid layout, on my home page. It works exactly how I want it to, but I keep reading that I shouldn't ever use query_posts. ...
0
votes
1answer
26 views

Link post to blog from a static page

I'm a WP rookie, and I just designed a static homepage that shows the 3 most recent posts in my database. I would like to redirect the user to another page in order to show him the entire blog post ...
0
votes
1answer
24 views

How to make post page unique and show it on home page?

I don't know if the title is correct but I'll try to explain my question below. I have created a custom post type "Projects" and the trick is that one project have to be unique and displayed on ...
0
votes
1answer
29 views

Inserting an example of the last 3 post on to the homepage

Hi everyone I am new of here, and I was looking for this answer for a while, but I guess that I am not finding the right way to google the question. I do not know PHP, but I know quite well html and ...
1
vote
0answers
51 views

Best Practices for a Completely Customizable Homepage - without plugins

Let's say you have a homepage where you want to be able to feature 10 posts of various types (posts, pages, and Custom Post Types). You have hundreds of these posts to choose from. What would be the ...
0
votes
0answers
33 views

Theme code to display all sticky posts

I found this code to show one sticky post at the side of the page: <?php $sticky = get_option( 'sticky_posts' ); $the_query = new WP_Query( 'p=' . $sticky[0] ); while ...
0
votes
1answer
44 views

Multiple posts/pages in one page?

I'm trying to create website with index page which will have 2+ different boxs with different content generated from post or pages in WP administration. This page will be looks like this wireframe. ...
0
votes
0answers
23 views

How can I have preview of articles divided in categories in one page?

I have now 8 categories and each I will have more than 20 articles (posts). In my homepage I wanna show all categories with 3 newest post in it. When I create new post/article, I wanna automatically ...
0
votes
1answer
24 views

Change website directory safely to add a static page on startup

I have a blog http://aamirshahzad.net I want to have a static HTML page on start-up before user may see the blog. For that I am planing to move my whole site to http://aamirshahzad.net/web/ and want ...
3
votes
1answer
122 views

Authentication / login mechanism (non wp-admin)

I am developing a theme. I need to have a user login system, that allows users to see all contents of the application and interact with it only after they login (not admin panel login). I need to ...
0
votes
1answer
137 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, ...
1
vote
2answers
2k views

Custom /page/2/ template (different from index.php)

I'm trying to create a custom page 2 template that's different from the main index.php. For example, the main index page would display the latest news + a lot of features like a magazine. When readers ...
0
votes
2answers
43 views

Style post formats differently on the home page

I was wondering how I can style different post formats differently on the home page. I set up all the formats and grabbed this code from a tutorial website, that displays all the different formats on ...
0
votes
1answer
17 views

I don't want the complete article to show on homepage

When I post articles the complete article shows in the home page. I just want it to show Intro and then read more. I did not create the site myself and just taking on the role of admin of the page.
0
votes
2answers
136 views

Set homepage to only display posts from one tag

I'd like my homepage to only display posts from a single tag. Is this possible? If yes, please advise. For instance, www.mysite.com/tag/sometag will only display posts with the sometag tag, ...
0
votes
1answer
77 views

How to display html code on homepage

I have some HTML code wrapped in a div tag that I'd like to place on the homepage. Because I use a static page for a homepage, I'm guessing I should use is_front_page() and I should place the desired ...
2
votes
1answer
22 views

Insert Latest Articles in Homepage

How can I insert the latest articles (blog) on top of the homepage? I intend with the release of the latest items with image and brief summary of the article. I made an example (in the attached ...
0
votes
2answers
132 views

Function to limit number of custom post types on homepage - TwentyTen

here is the deal... I got hold of this piece of code to change the default post type shown on my TwentyTen child theme's homepage. It works like a charm when I add this code to the functions.php ...
2
votes
1answer
405 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: ...
-2
votes
2answers
39 views

My homepage's width has reduced and I can´t fix it [closed]

I am creating a site for a friend of mine and I'm having trouble with the width of my homepage. The homepage is set as a full width page but when you view it it only displays about 60% of the span. ...
0
votes
1answer
32 views

Show sticky blog post on homepage

Is there a bit of PHP I can use to grab the sticky blog post (there will only ever be one) to drop into my homepage template file?
0
votes
3answers
61 views

Displaying posts on homepage - Template Page

I created two template pages: galerie.php and homepage.php. Galerie already displays posts. So Homepage is homepage.php and posts page is galerie.php. Now the problem is that I wanted to display a ...
0
votes
0answers
28 views

My custom template is displaying 2 Home pages

I'm developing my wordpress theme and I have a problem. I have my homepage.php and galerie.php (custom page templates), the problem is that I want the posts to go to the galerie.php page and not to ...
0
votes
0answers
160 views

Video Embed & Thumbnail Generator on Homepage

I am working on WordPress at the moment and found the 'Video Embed & Thumbnail Generator' plugin which is really useful. The only problem is that the plugin adds its script and styling to posts ...
0
votes
2answers
121 views

Trying to use shortcode for a plugin on custom homepage of Responsive theme

The Responsive theme has a custom home page option, with a feature content div that is defaulted to an image. I cannot get shortcode for my slideshow plugin to work in this. I can insert html just ...
0
votes
1answer
41 views

Loop doesn't exclude the specified category in home page

Oh, hello! I want to show the three most recent blog posts in the home page, excluding the "featured" category, which has the ID 8. In order to see the ID for that category, I went to Posts > Category ...
1
vote
2answers
1k 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
27 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
21 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
97 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
49 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
29 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 ...