Skip to main content

Questions tagged [page-template]

Pages are one of WordPress' built-in Post Types. You'll probably want most of your website Pages to look about the same. Sometimes, though, you may need a specific Page, or a group of Pages, to display or behave differently. This is easily accomplished with Page Templates.

Filter by
Sorted by
Tagged with
0 votes
1 answer
44 views

I am creating a blog and I added a portfolio page to my wordpress blog. But it is mysterious when I add a image to a column, it updates other two columns also. is it possible to overcome this? Before ...
user3103982's user avatar
0 votes
0 answers
34 views

I am new to WordPress, and I am currently taking the free course on their website. I have started to create my website structure and style using the Twenty Twenty-Five theme and block editor. Every ...
TheOmnimax's user avatar
0 votes
0 answers
39 views

We are dealing with an ecommerce with thousands of products, which are organized with multiple categories and multiple tags. Ideally we need to exclude some products categories and tags from the list. ...
Eyes don't Lie's user avatar
0 votes
0 answers
70 views

<?php /** * Data provider for block patterns. * * @package Test */ namespace RomArt\DataProviders; /** * BlockPatternsDataProvider class. */ class BlockPatternsDataProvider extends ...
Tahi Reu's user avatar
  • 318
0 votes
1 answer
66 views

I have these blocks of code in my function.php: add_action('query_vars','add_query_vars'); function add_query_vars($vars) { array_push($vars, 'verify'); print_r($vars); return $vars; } ...
Run's user avatar
  • 331
0 votes
1 answer
43 views

I am trying to add a template sections that I have in a directory my-child-theme/template-parts/hero.php. In my page template (my-child-theme/templates/front-page.php) I am calling echo ...
J W's user avatar
  • 3
0 votes
1 answer
57 views

Can I use the following function twice? <php get_header(); ?> <php get_header(); ?> <div class="news-heading"> <span>Trending</span> </div> ...
Ashutosh Kumar Singh Rajbhar's user avatar
1 vote
0 answers
55 views

I am building a project using WordPress 6.6.1. I have opted to create a child them which extends TwentyTwentyFour and therefore relies on the new block editor which is packaged in that parent theme. ...
GRY's user avatar
  • 123
4 votes
1 answer
2k views

How can I create a duplicate of a template using the Wordpress Site Editor? Using the Wordpress Site Editor, I can create new page templates. I want to create a new template that's nearly identical to ...
Michael Altfield's user avatar
0 votes
0 answers
57 views

I have a Woocommerce site and I would like to set up two different search forms, one for products and one for everything else (pages, posts, and a couple CPTs) that would render on it's own respective ...
Ryan M Vickerman's user avatar
0 votes
0 answers
47 views

With the latest version of WordPress I noticed that I'm not able to change the template file based on the custom page templates that I've made when I'm on BLOCK EDITOR mode. I am ONLY able to change ...
user242254's user avatar
1 vote
1 answer
1k views

I was experimenting and tried creating a page template from the page editor by clicking the button below. I no longer want that template there, as I'm just going to do it the old-fashioned way and ...
Manly's user avatar
  • 143
1 vote
1 answer
313 views

I am getting these PHP8.0 Warnings from my WordPress site. The warnings are pointing to core code, not anything custom. When I turn debugging on there are no error messages on the site. I also checked ...
Dawn's user avatar
  • 43
2 votes
1 answer
199 views

Goal I need to use a legacy html static page for the homepage of a newly installed wp website. I used this answer, the second method, to add a template to my theme and to set the settings > reading ...
AxZxP's user avatar
  • 23
0 votes
0 answers
173 views

The site is located at www.morrellplumbing.com.au and the header looks like this: I need to change the phone number, but for the life of me, I cannot find where it is stored in the Wordpress ...
Dale M's user avatar
  • 101

15 30 50 per page
1
2 3 4 5
81