The tag has no wiki summary.

learn more… | top users | synonyms (1)

0
votes
0answers
130 views

Avoid duplicate posts from sidebar widget on homepage?

In a normal dynamic sidebar of a theme's homepage template the sidebar widgets display lots of duplicate posts on the front page. It shows "recent posts" and posts from certain categories in main ...
0
votes
1answer
713 views

How can I show/hide HTML elements if the page is_front_page

For example if its 'is_front_page' I want to hide a div. If its not the 'is_front_page' i want to show the div. How can i achieve this? I am not sure on how I can achieve this. Any assistance would ...
0
votes
1answer
71 views

Custom Style per Post, How to Display Custom-Styled Single post on Homepage?

This question probably has simple answer, but I'm not an expert programmer so lemme explain my question chronologically. I apply custom style for every single post, and it works using the following ...
1
vote
2answers
321 views

How to check if current static page is frontpage from admin plugin

I set static page as front page. I need to know if user currently on homepage in my custom plugin. Functions is_home() and is_front_page() doesn't works, since homepage is static page. I can get an ...
0
votes
1answer
138 views

How to get or know the slug of home.php

I found this code from Different Main Navigation per category: <?php if(is_category('first-category') || in_category('first-category)) { wp_nav_menu( array('menu' => 'First Category Nav' )); ...
0
votes
1answer
24 views

What is the issue with our links? It creates a loop

On behalf of the university's radio station, I am trying to solve the issue with our links. When you go to our site http://brookesradio.com, if you click one of the nav bar or header, twice or go to ...
0
votes
1answer
151 views

blank page with no code or errors on blog

I'm encountering some trouble moving a Wordpress installation from a development to a production server. The development server works just fine, but when moving to production the blog page suddenly ...
-1
votes
1answer
115 views

Wordpress Redirecting Form Action to Home Page

Why does wordpress redirect to the home page after submitting a form? How can I make wordpress call the right page in the form action?
0
votes
1answer
190 views

2 loops in blog homepage

I would like to have to query loops running on my blog homepage: Featured posts on top displaying 3 posts from the category : "Featured" Underneath it just the basic loop of wordpress which display ...
0
votes
1answer
131 views

Wrong page displays as home page

My website www.makowerarchitects.com loads up 'something' (for lack of a better word), whereas the correct Home page that needs to show upon visiting the site shows under ...
0
votes
1answer
195 views

Conditional get template part

My index page look like this... <div id="ad-id">google ad code goes here </div><br /> <div id="post-id">My posts are goes here</div> I use ...
1
vote
1answer
122 views

is_home() returns TRUE on page template

I'm wondering why my link: http://localhost/?page_id=3433 returns TRUE on is_home() usage: if(is_home()){ var_dump(is_home()); die('test'); ...
0
votes
2answers
161 views

How to add a body class to all interior pages except the homepage

I want to add a class to the body tag to all pages EXCEPT the homepage. Right now I have. <?php body_class('interior'); ?> But it adds 'interior' to ALL pages including the home page. What is ...
1
vote
3answers
2k 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 ...
0
votes
1answer
403 views

pagination does not work with query_posts. Help! [duplicate]

I made ​​a separate page template (added sidebar), this page contains all the posts. Pagination works! But, if this page set as the home page, pagination is not working! Please help find solutions ...
-1
votes
1answer
345 views

All pages showing up as homepage on Wordpress website

Why would this be happening? Every link I click on on my site results in the homepage again. You can check it out here: http://www.whatamidoingonline.com What is going on here? This just started all ...
1
vote
1answer
249 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
1answer
628 views

Add Adsense code in index.php

My wordpress blog homepage has thumbnail gallery. I want add adsense image ad code to 5,10 place. Below code from my index <?php if (have_posts()) : while (have_posts()) : the_post(); ?> ...
0
votes
3answers
385 views

Recent posts on homepage

I have made a page where you people can find al the teasers (teaser made with the read more tag) from my posts.( By clicking one of them you "open" the whole article, including photo's, ... . This is ...
1
vote
1answer
100 views

Testing if current page is the static page set as home page

I set my 'About' page as home page, its permalink (my_site/about/) became my_site/ as a result. Is_page('about') returns TRUE on my local server but FALSE on online server. Why is that ?
-1
votes
1answer
55 views

How to access the so called “Posts page”

This might be a dumb question - I'm sorry for that but: If I decide to alter "Reading Settings" and choose a front page for home I can define a "Static Page" and a "Posts Page". "Static Page" ain't ...
0
votes
0answers
15 views

Have custom number of blog posts on homepage with working pagination [duplicate]

Possible Duplicate: How to show a single post on the front page but have normal paging? My question is similar to How to show a single post on the front page but have normal paging?. The ...
0
votes
1answer
232 views

Single Post in Tab/Slider

I have managed to code tab system that fetches different categories and custom taxanomies on a home page and shows relative posts. Now, is it possible that when someone clicks on one of the posts in ...
1
vote
1answer
444 views

How to put a banner ad between post 1 and post 2 on homepage only

Wordpress Swift Theme is installed on my My site http://tech-ticks.info From last few days, I am trying to find a solution to put an ad banner on homepage only between post1 and post 2. I have ...
0
votes
1answer
61 views

How to show the homepage on a different url, like site.com/blog instead of site.com?

I have Wordpress installed in my root directory, so if you go to site.com you see the list of recent posts. What I want to do is to have the homepage show a static page instead showing recent news ...
0
votes
2answers
604 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
1answer
98 views

Homepage custom recent news

Is there anyway of telling wordpress, by some plugin or whatever, not to show Recent news from Category X, on my home page? Or I may do it only by modifying the home.php code?
0
votes
3answers
98 views

How do make Wordpress to let alone my static home page?

I want to install wordpress in the root of an existing site, and temporarily use my new installation home as /home, while the rest of the static site is still there find-able by visitors/google. I ...
0
votes
1answer
228 views

Display Page Meta Description on Child Theme’s Home Page

I’m working on a project. I need to display Custom Document Title & Page Meta Description in the home page. I mean you know that genesis has a custom Theme SEO Box under Post. I want that custom ...
0
votes
1answer
62 views

How do I get a single page navigation depending on the previous page?

I figured this would be a fairly comon thing. But I can't seem to find out how to do it. Or I'm just not using the correct search terms. I've got a website with a hompage that lists all my posts, and ...
0
votes
2answers
89 views

page 1 is not paged

I have rules that only work on paginated pages (is_paged). However, they don't work on page number one (/page/1). This one is behaving exactly like the homepage (!is_paged), but unlike pages 2,3,4 ...
0
votes
2answers
303 views

Linking to page with all posts

I'm new to the Wordpress world. I've read the template hierarchy document and read online, but, I wanted to get feedback from here on what the best way to do this would be. What I'm trying to do is ...
2
votes
3answers
291 views

How to insert an Audio Player in a Post or Page?

I have a blog which I sometimes use for audio clips. I want to put an Audio Player on the frontpage of my blog. How can I put the player after the title or make its code part of post excerpts?
1
vote
2answers
327 views

Is it possible to have a landing page based on the visitors location?

I am designing an events site and would like people to see a homepage based upon the events that are in their area. Could this could also be done with a login, if they register their address?
0
votes
1answer
122 views

Set a hard-coded page-template (post-type-archive) as home/front-page of my wordpress blog?

under Settings->Reading I can set which page should appear immediately when visiting my site as "home-page". In my case I want the archive of my custom-post-type named "events" as home/front-page of ...
4
votes
1answer
520 views

How to use a specific category archive index as the site front page?

I investigated Wordpress hierarchy and have created a php file called category-image-gallery.php the link to this is http://www.phoneographer.org/category/image-gallery/ having uploaded it and added ...
1
vote
2answers
308 views

How do I display only the latest post on my home page, while maintaining proper plugin hooks?

What I'm trying to do is display the most recent post (a la my theme's "single.php") on my "home" page. This is complicated by the fact that I have certain plugins (specifically, Scripts n Styles) ...
0
votes
2answers
300 views

How to avoid duplicate Url for the home page

I am working on this web . I need to fiugure it out on how to avoid repeating the URL in the home Page. The Home page has actually two url creativesquaresummercamp.com/ ...
0
votes
1answer
85 views

Home page: using custom fields for posts and pages

in my home page I'd like to display some pages and posts title using the custom fields. Unfortunately my code prints only posts title. If there is a key "highlights" print the title. Here my code: ...
-1
votes
1answer
78 views

How to display text of a page in home or custom page?

I have "About us" content in a single static wp page and want to show a part of it in the front page with a read more... link. I want to make index.php like this: -Navigation- -About Us - -Some ...
1
vote
1answer
863 views

How to display thumbnail and excerpt of a page on homepage?

How to display attached thumbnail and excerpt (about 200 words) of a page on homepage? <?php $page_data = get_page( 401 ); // Get page ID 401 echo '<h3>'. $page_data->post_title ...
0
votes
1answer
130 views

Custom Post Types and 404 Pages

I have tried refreshing my permalinks but I still cant get this to work correctly. I have the categories movies, gaming, blu-ray, and tv already created, so my URLs are site.com/movies/ for example. ...
0
votes
1answer
44 views

Adding if statement to content for homepage

I have an if statement already in my loop to display content based on post type. I was wondering if there was a way that I could say to ignore that section if it is the front page/homepage. Here's a ...
0
votes
2answers
962 views

Show latest posts on responsive theme

I've installed Responsive theme on my new blog. I want the home page to show my recent posts, so I configured Settings->Reading to show my 10 recent posts, instead of a static page. Alas, the ...
0
votes
2answers
611 views

Displaying custom post type on front page

I added a new custom post type to my Wordpress theme but it refuses to show on the homepage. I tried setting <?php query_posts( array( 'post_type' => array('post', 'reviews') ) );?> but ...
1
vote
1answer
243 views

Change the menu home link to something else

I'm using the built in menu system, and I wan't to change the text of the home menu link to something else, like "hjem", and i have tried placing this in the code: <?php wp_page_menu( array( ...
0
votes
1answer
450 views

Change admin startpage to Pages-page?

When you login to the admin you see the Welcome page by default. A client of mine requested to see the "Pages" page by default, he had seen it somewhere else. Is this possible, and if so, how? Tried ...
0
votes
1answer
119 views

how many visitor open this post? [closed]

i want to create, how many visitor open this post it display in homepage below of summary like this .how i can do it? my site.my css code /***** Structure and Layout *****/ body { font: 62.5% ...
0
votes
2answers
127 views

Auto 301 to full post permalink? (using : /archive/%post_id% to %post_name% )

I have updated my permalink structure to /archive/%post_id%, but if someone uses a URL like /archive/456857 instead of the full URL of /blog-test, WordPress shows the post without giving a 301 to the ...
1
vote
2answers
92 views

Page-loop is looping content from custom loops on the same site. How to avoid that?

i've made a custom home-page (with a template) and i'm using three loops on this site: two category-loops and on the bottom of the site the main loop for the page (the page content). the problem is: ...