Questions tagged [blog]

A blog (a contraction of the words web log) is a discussion or informational site published on the World Wide Web and consisting of discrete entries ("posts") typically displayed in reverse chronological order (the most recent post appears first).

Filter by
Sorted by
Tagged with
2
votes
1answer
4k views

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://...
0
votes
2answers
120 views

Permalink: postname EXCEPT for blog

In order to refrain from possible duplicate URLs or conflicting URLs, I really want to use "postname" for a clean URL structure, EXCEPT for the blog ... for the blog and it's posts, I always want /...
37
votes
9answers
108k views

Check if current page is the Blog Page

I'm new to WordPress. I am looking for a way to check if current page is the blog page in the code of the header file. I've checked but I can't find a way. Help me, Pls.
0
votes
1answer
302 views

How to maintain wordpress site blogs in production and staging?

I work as a website admin in my company. We are selling digital products using WooCommerce. We wanted to have staging and production in order to avoid any site down. So in staging we use to create ...
6
votes
4answers
17k views

404 Error On Category and Tags Pages

Okay So I'm facing a weird problem as i'm receiving 404 errors on blog category and tag pages. I'm using custom theme which includes: tag.php category.php archive.php home.php index.php and 404....
3
votes
3answers
1k views

Wordpress 3.8.1 Multisite blog slug problem

Just installed Wordpress 3.8.1 multisite but can't remove the /blog/ slug. I've tried all suggestions for older versions of Wordpress (including the solutions to the question posted on this site 6 ...
1
vote
1answer
185 views

Block multiple categories from Blog

I found this code on this site by AshFrame which I added to my functions PHP file and works perfectly to stop one category being displayed on my blog (I have a custom menu so have the category ...
1
vote
1answer
829 views

Custom post-type in root directory, blog posts in subdirectory

I have a website with one custom post type as well as a blog. For the custom post type I would like to have the slug as root, like so http://domain.com/<title> And the blog post I would like ...
7
votes
2answers
7k views

Show Default Editor on Blog Page ( Administration Panel )

In WordPress 4.2 it included a nice feature which labeled what page was the Front-Page and which page was the Blog ( Latest Posts ). Unfortunately, it also removes the default editor on the page ...
4
votes
1answer
3k views

I put my blog on a subpage, how do I get page title?

I've got my blog setup on a subpage (not the front page) and I'm using the template file home.php, how can I get the contents from the page editor onto this subpage? If I change the title of the page ...
3
votes
1answer
784 views

Prepend regular Posts with custom slug, without affecting Custom Post Types?

My company policy is to prepend "/blog/" to our Post slugs. Normally our SEO team will do this via the Custom Permalinks setting (/blog/%postname%), but this has the side effect of pre-pending /blog/ ...
2
votes
1answer
168 views

How to change the permalink structure of a master page?

Links on the page I use are progressing as follows: http://example.com/image/1 The code I use for Functions.php add_action( 'init', 'wpse316713_pagination_base_rewrite_rule' ); function ...
1
vote
2answers
4k views

index.php template is used instead of blog page

I am trying to set WordPress so that home page is static, and the blog page is a separate page. So, I created two page templates in my theme., lets call them home_template and blog_template. Then, I ...
1
vote
1answer
74 views

How to change the link structure of the homepage?

There are "your last posts" on the homepage. Under normal circumstances, the page proceeds as follows: http://example.com/page/1 http://example.com/page/2 e.t.c I want to change this link structure....
1
vote
1answer
707 views

Is it possible to set a page template on a dynamic home page (articles list)?

When we create or edit a page, we can often set a page template depending of the used theme. Let say we have a "default" and a "with sidebar" templates. My home page is a list of the last articles, ...
1
vote
1answer
50 views

Canonicalization issue regarding academic URL vs. blog URL

I'm sorry if what I am about to write is long-winded. I only wish to be clear. I am an academic in the scientific community. I maintain a web site for my research, teaching, and other professional ...
1
vote
3answers
2k views

blog page showing only first post

Live site. My blog page is showing only the very first published page, and not the subsequent posts. I've noticed, too, that when viewing the page source, the blog page seems to be using single.php ...
1
vote
1answer
949 views

A function to fetch blog content via rss feed

I am trying to make a function which take an rss fedd URL and fetches the most recent 2 posts. I have tried to remake the snippet from here to a full function in funtions.php as following. I don't ...
0
votes
1answer
380 views

Using “/blog” as a site with Wordpress Multi-Site

I have Wordpress installed in the root directory, and plan to use the domain.tld as a portfolio and domain.tld/blog as personal blog site. Since the blog keyword is reserved in Wordpress and can't be ...
0
votes
2answers
741 views

Looking to exclude blog posts from category Previous/Next buttons

I'm working on some conditional elements here and I thought I had it but it's still not working right. You can see my site here. What I've done is displayed only category Legal Libation Columns (98) ...
0
votes
0answers
147 views

Blog Displays Only Sticky Posts

I set my home page to show the latest three sticky posts from the blog. The problem is, if you publish a post that's not sticky, it doesn't show up in the blog page. How could I fix it? The code ...