is_home() returns TRUE on page template
I discovered that it isn’t actually a bug. In the loop is_home() will refer to the currently looped object and not to the page that you accessed. In fact that’s handy!
I discovered that it isn’t actually a bug. In the loop is_home() will refer to the currently looped object and not to the page that you accessed. In fact that’s handy!
In your index template, you’ll want to add a conditional around your Google ad. The subject of that conditional is up to you, and will depend on your exact needs. For instance, if you want it to show on the homepage but not other pages, you can check if is_home(). If your needs are more … Read more
You should change all occurences of this url in database. To do it you can: Export database to SQL Use some text editor to find&replace all occurences of http://ex-ample.com to http://example.com Import this new database to server. The other option is to use http://wordpress.org/plugins/search-and-replace/ and replace all http://ex-ample.com occurences. This article should be helpfull too: … Read more
My suggestion : Make a specific video splash template inside of your WordPress theme incorporating a link to visit the rest of your site. Put in your web directory a specific CSS file for full screen video support. Make a new empty page using the splash template and use this page as your homepage in … Read more
“The Loop” is WordPress. Trying to get rid of it is impossible. It may return no results, but it will always be called. That being said, it does not mean that you have to call a listing of posts on your home page. If you instead plan on customizing the front page to be “static … Read more
After a lot of digging and trial-error I think I found a solution. It involves custom fields for which I used Advanced Custom Field but it’s optional. To make things easy on the site author I put a metabox before the actual news Now, in my homepage I have 5 areas: 4 of them contains … Read more
I think you’re making this far more difficult on yourself than you need to. Easiest Solution First, I’m a bit confused, because the page you call the “blog page” is not actually the blog page. The blog page is the blog posts index page, and the page you’ve linked is actually the category archive index … Read more
As per the OP’s answer that was added in their question, I’ve separated it instead. In short: …deactivating and reactivating plugins, commenting and uncommenting, I now have my site working as intended. Here’s the elaboration given by the OP as well: I have a couple of custom post types in my functions.php file. Each one … Read more
You can take the following steps Go to You Dashboard Click Appearance > Menus Under Pages, Click View All There will be a ‘Home’ option Check that Home Option Click ‘Add to Menu’ The new Menu item will appear in the right block Drag the home menu to the top Save the menu
Adding ignore sticky line inside array should solve the issue 🙂 $args = array( ‘post_type’ => ‘post’, ‘posts_per_page’ => ‘6’, ‘ignore_sticky_posts’ => 1,//this is the one 🙂 ‘paged’ => $paged, );