Questions tagged [blog-page]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
30 views

Use a 301 to Redirect any 404 from at the blog post level to the blog archive

In the .htaccess file, I am trying to write a 301 to catch any broken blog page links to redirect to the blog archive page? so something like Redirect 301 /blog-archive/category/{any 404} /blog-...
0
votes
1answer
25 views

Display a single category in blog section

I have been struggling with a problem, I have a webpage running on WordPress, most of the things work as expected, except one: in the blog section page (the one that is configured in settings/reading -...
0
votes
0answers
17 views

Show a Setting From Theme Customizer Under Every Blogpost

I've added a custom setting in Theme>Customize using Theme Customization API. Now, my client wants that setting (text) to show at the end of each & every blogpost. Please help. My Current Code ...
0
votes
1answer
25 views

How to Get The Excerpt of the page that displays Blog Posts

I use a static page (Blog) to display the latest posts. I want to show the excerpt of that page next to the title. However, wen I use wp_kses_post( get_the_excerpt() ), I get the excerpt of the latest ...
0
votes
0answers
13 views

How to change sort order of post type and taxonomy blog pages?

I'm building a site where I need the sort order of the default blog pages to be DESC. I need this for the author pages, all taxonomies and some custom post types. I'm very amateur with php, but I've ...
0
votes
0answers
29 views

How to use a page template on the blog

I have home.php handling my main blog page. I am trying to set up an additional page template to be able to change the layout of the blog occasionally. I am able to choose the custom page template ...
0
votes
1answer
55 views

How to remove the h6 tag for the entry-category Class

On my single blog pages at the very beginning, I have the html <h6 class="entry-category is-xsmall"> <a href="www.website.com" rel="category tag">category ...
0
votes
0answers
14 views

Is there anyway I can call the year once?

Hi everyone I hope you have a great day, I was wondering if is there anyway I can call the year once?. I really don't know if its possible to call the date once cause mine keeps on repeating calling ...
0
votes
0answers
14 views

How do I remove the Meta box?

There is a box on the side of my wordpress 5.5 blog which is below the Categories and Archives boxes with the following content: Meta ---- Log in Entries feed Comments feed WordPress.org How do I ...
0
votes
2answers
29 views

Display latest posts from a specific categories

I am trying to get latest from specific categories (3 posts), but the code does not seem working. Instead of displaying posts from the mentioned categories, it is displaying posts from the first ...
0
votes
1answer
68 views

Blog page and the Home page showing the same content

I am trying to set up a website with askme as the main template and consider myself as someone who dosent knows website coding yet.And so I am using Wordpress to build a website.But the only problem I ...
0
votes
1answer
178 views

How do I get the Revolution Slider in the header on the homepage, but not the blog index page?

I am trying to get a carousel slider from the Revolution Slider Addon into the header on the homepage only. And I want it under the header bar (where the menu is). However, the template I'm using ...
1
vote
0answers
50 views

Front page with registered query params in URL shows blog archive instead of front page

WordPress version: 5.4.1 I've built a plugin that includes a shortcode. The shortcode shows a product listing and has a couple of filters. The filters trigger a page refresh through JS with query ...
0
votes
0answers
46 views

How to list blog post from subdirectory wordpress install to the main site

I have decided to separate my main website and my blog with different Wordpress installs. I've installed my blog in the subdirectory (/blog/ folder) and my main Wordpress is only contained homepage ...
0
votes
1answer
31 views

Why is the_permalink not working?

In my index.php I'am looping like this: <?php while(have_posts()) { the_post(); ?> <article> <h2><?php the_title(); ?></h2> <p>Veröffentlicht ...
0
votes
2answers
102 views

How to create first post, fifth post full width, rest in three columns and so on

I am new to wordpress development, I am leaning how to make a theme from scratch. I don't want to use any plugin to achieve this. How to create first post/ fifth post/ ninth post full width, rest in ...
0
votes
1answer
182 views

How can I show the actual content of Posts page because the_content() is showing all blog content?

In Settings>Reading I have the following static page set Homepage: Welcome to blurr (front-page.php) Posts page: Blog Posts (home.php) I'm trying to get the_content of the Blog Posts to show ...
0
votes
0answers
15 views

No comment Section but still got a Comment

Somebody commented on my blog article, but I dont have a Comment Section on my blog. Also my blog is in german and the comment was in english. I'm not sure how this is possible and how this could ...
1
vote
1answer
31 views

How do I make the homepage as the blog page?

In my WordPress website it only has the blog page. There is no home page and other pages. I want the homepage to be the blog page. When I customize the home & blog page to the same page, it ...
0
votes
1answer
288 views

How to add a blog filter bar without paying money. (example inside)

Hello, I saw this type of blog filter on a website and I really liked it. I was hoping I could add something similar on my site but I haven't found a way to do so without a plugin. If anyone has ...
0
votes
1answer
22 views

How to force set same page as homepage and blogpage in static page settings

I am trying to set the same page as my blog page as well as my static homepage. You might ask why i wanna do that, basically in the preview it shows me result that i am after, but i am not able to ...
1
vote
1answer
730 views

Adding parent pages to posts

I want to add a parent page to my blog posts so I can track their traffic together on Analytics. I want to avoid adding extra tracking code in the header to avoid slowing my site down. So what I want ...
0
votes
1answer
14 views

show scheduled posts in the calendar

I am creating a WordPress site for a school so if I put a future post for when the school will re-open it won't show until that date I would like it to show in the calendar in advance is there away ...
2
votes
2answers
302 views

is_page(id) not working for blog page

I am trying to add a css file specific to 3 pages using the is_page(postid) for a WordPress website in the functions.php if (is_page(1) || is_page(2) || is_page(3) ) { echo "<script&...
0
votes
1answer
61 views

WordPress Iframe for blog image

I would like to have an Instagram feed for featured image of the blog. Already I have Instagram feed blog post but I would like it to be also on featured image. Any idea how to achieve this? Link ...
0
votes
1answer
23 views

Building articles grid

Would appreciate help. I'm trying to figure out how to build a menu page where there are pictures or photos with a summary with a link to a post or article. Like a grid or a similar shape. (Not using ...
0
votes
0answers
24 views

How to use a PHP file to control the content of a blog post

Let's say I've created a page with the ID 62. If I then create a PHP file named page-62.php, I could edit my page from there. I want to do the same with a blog post. How would that be possible?
2
votes
3answers
3k views

How to display only the excerpt in the blog/posts page with Gutenberg?

I'm building a custom child theme using the Twenty Nineteen default WordPress theme as the parent. I added some text in the excerpt section available in the Editor as follows: But the full content ...
2
votes
1answer
234 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 ...
0
votes
1answer
182 views

Link to a custom page without a permalink?

I am working on a custom Wordpress theme, I have the index.php setup for the Home view, I'd like to create another page to list all the blog posts, I am familiar with the loop, I just want to know how ...
2
votes
0answers
13 views

I am having trouble with article formatting when exporting/importing articles from the production to the development environments

Whenever I export a couple of articles from my production site to my development site, the imported one loses all its spacings (&nbsp elements). Has anyone ever encountered this? I use Wordpress ...
0
votes
2answers
36 views

WordPress blog posts template bug [closed]

I'm facing an issue I've never seen before. I fully copied a WP website to my localhost machine and everything was looking fine. When I was trying to make some changes on the blog page template (that ...
1
vote
1answer
76 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
37 views

Apply a style for 4 blogs and another style for the next 4 blogs in wordpress blog page?

I tried to customize my blog page. The first 4 blogs should be designed in one style while the next 4 blogs has a different style. When I applied the css, all the blogs were shown the same way. I was ...
0
votes
1answer
366 views

Redirect Category pages to blog page with query string

Instead of using category listing templates for a site that I am working on, I am using ajax for filtering, searching, and listing all blog posts on the blog page. However, I need to add all the ...
0
votes
1answer
18 views

Blog post Links leading to home page [closed]

I have a Wordpress site with a paid theme but I seem to have a problem with the blog posts. When I create a blogpost, the blog post title and read more links appears in the blog menu item I have. But ...
0
votes
0answers
12 views

Removing catagory for new blog pages

I have three blog pages named 'blog' 'page_2' 'page_3' and four categories named 'cat1' 'cat2' 'cat3' 'cat4' in WordPress. Here 'blog' is the default blog page. Problem is when i submit a post it ...
2
votes
2answers
139 views

When using global $post in blog index file (home.php) it returns the latest blog post instead of current page

In my home.php file I have only this code: <?php global $post; print_r($post->ID); die(); ?> This is printing the ID of the latest blog post, but what I want is to get the ID of ...
1
vote
2answers
146 views

How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts

How to stop featured image thumbnail [set as background image] on blog index page just repeating same image across all posts: i have this code here: add_action( 'wp_head', 'set_featured_background',...
2
votes
1answer
100 views

How to block access to blog-page for users not logged in?

My blogpage [is_home()] is located at /blog. My static page [is_frontpage()] is not the blogpage and located to /about-us. For users not logged in, the startpage is the static page. For users logged ...
0
votes
1answer
13 views

There is no link or button to my blog page

I have a blog page and Ive done a blog, but the only way other people can get to it is if they add /blog to the home page eg https://www.botanicalhome.com.au/pages/blog/ I dont want my home page to ...
-1
votes
2answers
34 views

In reading settings posts are set to “blog” and I have page-blog.php but no posts

I'm trying to achieve this: I have a static frontpage (defined in index.php) and want a section /blog that uses what I define in page-blog.php but using the built-in methods for looping posts etc. ...
0
votes
3answers
4k views

Customizing a blog page layout

I can't find any themes that truly match what I want, so I wanted to customize my blog page by adding to its existing layout given from the theme. However it seems that widgets and plugins that allow ...
0
votes
2answers
284 views

How to add add blank non-editable wp page like default blog for use with plugin

Wordpress has a default, for the most-part, non-editable place holder page for your blog. How can I recreate a similar page to this for use with my plugin? When accessing the page defined as blog ...
0
votes
1answer
47 views

How do i remove Responsive navigation bar from from single blog post

How do i remove Responsive navigation bar from from single blog post. Can you help me css code that take this out from my landing page. Can you please check the link http://interecom.co/event/silom-...
1
vote
1answer
4k views

How to display on the blog page the posts corresponding to the selected language, using Polylang

I use Polylang (free) to internationalize a customer site. I set a default language (= FR), I added a language switcher in my navbar (FR and US flags) and I set the Front and Blog pages for both ...
0
votes
1answer
23 views

Why does the blog page not take the page template selected?

I have a page template called post-list.php. This template lists all the posts that I have created with the title, date, author and an excerpt. Now, to list the posts I have created a page called ...
0
votes
1answer
25 views

Blog page is not showing properly

I am working on my site http://coregroupus.com/blog/ due to some problem my blog page is not displaying posts properly. Its showing the content of some other page in header, however all the posts are ...
0
votes
1answer
20 views

Is there a function to edit Blogs contents in Blogs page?

Can I edit blogs output content in blogs page? What is the correct way to do it? I assume there must be a filter function, the name of which I don't know.
0
votes
1answer
19 views

Wordpress display page information rather than post

I'm new to WordPress and trying to turn a website into a WordPress theme. At the bottom of the index page (static page) there is an area for the two latest posts. I have created two dummy posts on the ...