The tag has no usage guidance.

learn more… | top users | synonyms (1)

0
votes
0answers
20 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
22 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()) { ...
1
vote
4answers
577 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. ...
0
votes
2answers
60 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
35 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
102 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 ...
-3
votes
1answer
19 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
37 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( ...
1
vote
1answer
68 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 ...
1
vote
1answer
15 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
24 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
23 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
103 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
1answer
40 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 ...
1
vote
1answer
55 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
43 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 ...
0
votes
0answers
23 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
49 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
186 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
16 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
64 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
234 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
1answer
50 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 ...
0
votes
2answers
109 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
2answers
47 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
2answers
66 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
1answer
71 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
73 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
82 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
92 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 ...
0
votes
1answer
51 views

Link to Homepage in Menu

I am using the mh-newsdesk-lite wordpress theme in one of my client's websites and I'd like to have a link to the homepage in the menu. It ideally would be accomplished without php, or without any ...
2
votes
1answer
64 views

How can I make WordPress serve homepage to different URL?

I would like to set up a landing page and a homepage for my WordPress website. I am new to WordPress, but I am an experienced web developer. WordPress will only serve the homepage content if the URL ...
0
votes
0answers
62 views

Custom Homepage As Single Page or Custom Post Type?

Conceptual question for the WP community: I need to implement a custom homepage for a new site. It has some custom stuff going on but nothing too crazy: 4 big images, a carousel, some calls to action ...
1
vote
2answers
751 views

Overwrite style.css styles from index.php style

I'm trying to change the look of my website but while doing that, facing some problems. Now, different classes and id's in style.css apply to all pages on my theme. I want to overwrite those styles ...
0
votes
0answers
22 views

Set a static homepage but NOT in Wordpress Reading Settings?

I have just started working on a wordpress site which uses buddypress. There seems to be a documented (but unresolved) conflict between the buddypress and Site Origin Page Builder plugins. My problem ...
0
votes
1answer
61 views

Post as frontpage - avoid duplicate content

On one of my WP sites I display a single post on the homepage. It's hard coded in the index.php like: If is home then show post with ID X But now I have the post's content on the homepage but ...
0
votes
1answer
54 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
0answers
172 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
62 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
1answer
459 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
21 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
182 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
44 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
1answer
193 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
139 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
75 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
874 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
70 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 ...