0
votes
1answer
72 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
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
64 views

Changes in a home, two columns

I'm working with this template (this is a demo), I need the post shown on the home to appear in two columns rather smaller in width. Enclosed is my index.php code, I've tried everything by various ...
0
votes
1answer
97 views

Pagination broken on is_front_page()

I'm trying to display the first image attachment from each post on the front page of the site. This code below works on other pages, however pagination does not work on is_front_page(). First page ...
1
vote
2answers
154 views

two columns of posts on homepage, one of them “favorites”

I'm using a child theme of Twenty Twelve in wordpress. Here's where I am developing the site: http://internalcompass.us/castle/ You'll notice the two columns of posts on the homepage. I have one ...
0
votes
1answer
764 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
2answers
99 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
1answer
46 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
697 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 ...
0
votes
2answers
138 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
3answers
106 views

How can I hide Home in my menu in a specific page?

I want to how can I hide the home in the menu without setting show_home in functions.php to false, I just want to do is hide it in a specific page. How can I do this? I am using the Twenty-Eleven ...
0
votes
2answers
53 views

How to include custom code on a page that's set to act as homepage?

I have a page called 'home' which is set to be the front of my site, but I'd like it to show the most recent blog post or two at the bottom. I have some PHP that will do this from another site ...
0
votes
1answer
165 views

Issue with custom plugin

I created an audio player in HTML5/Flash with the help of the SoundManager2 API. Now I want to add it to Wordpress as a plugin, so that you don't need programming skills to customize the player. The ...
0
votes
1answer
2k views

How to display recent posts on home page with custom HTML

I am looking to display x (undecided) number of recent posts (no more than 10) on my home page. For each post, I would like to display the title and a snippet of the content. I can whip up a SQL query ...
0
votes
3answers
2k views

I want Page titles and excerpts to show up on home.php in certain order

In the functions.php, I have the following code added: add_post_type_support( 'page', 'excerpt' ); This allows pages to have excerpts. The reason I want an excerpt is because I want to call only ...