Two Blog Layouts, Same Theme

Is it possible to have two different blog layouts in the same theme? They would pull the same posts, but have a different layout structure. The only idea I’ve had is making a couple custom page templates that pull blog posts but have different structure/styles. Is there something simple I am missing? The reasoning is … Read more

How to display blog posts on a dedicated page?

I’m in the middle of moving to WordPress from another CMS. I definitely have to keep the links intact, which are like this: example.com (Redirects to /blog) example.com/blog (The blog, displaying all the articles) example.com/blog/article (A specific article) example.com/about (A static page) example.com/portfolio (Another static page) Right now, however, only the static pages work as … Read more

is_active_sidebar() Always Returns False

I’ve never gotten is_active_sidebar() to work, no matter if there’s widgets in the sidebar or not I always get false returned. Currently I’m creating a sidebar for each top level page: http://pastebin.com/fX3Rv20f I create my own widget(s): http://pastebin.com/Bz9hv41z And I’m testing whether the sidebar is active like so: if(is_active_sidebar(get_the_title())) echo ‘active’; else echo ‘not active’; … Read more

Blog not indexed [closed]

Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it’s on-topic for WordPress Development Stack Exchange. Closed 7 years ago. Improve this question my blog is 6 months old, with frequently updated content. Yet, not a single page is indexed by Google. Why is … Read more

How to stop subdirectory wordpress install adding head elemets to entire site?

I am working on a static website, www.example.com and have installed wordpress in a subdirectory: www.example.com/blog. I have created a custom elemnt on the home page which pulls in the latest blog. To do this I have included the following code: <?php require(‘blog/wp-blog-header.php’); get_header(); ?> The problem I am having is that this is pulling … Read more