Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 141970

Within the context of WordPress Theme-ing, the term 'template' refers to PHP files used to display content.

1 vote

Woocommerce - Change the template?

/wp-content/themes/{your_theme_name}/woocommerce/ and copy the file from /wp-content/plugins/woocommerce/templates/single-product.php into your theme's woocommerce directory e.g. …
Awais's user avatar
  • 348
0 votes

How can I add a custom header to a custom template in a plugin without using the theme folders

Plugin path function _get_header($name, $args = array()) { $require_once = true; $templates = array(); $name = (string) $name; if ('' ! … == $name) { $templates[] = "header-{$name}.php"; } else { return false; } $templates[] = 'header.php'; $located = ''; foreach ($templates as $template_name) { …
Awais's user avatar
  • 348