All Questions

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

Help where theme CSS overriding Elementor page builder CSS

am using Phlox theme and Elementor page builder to build my site www.kirstenwucher.com Issue with spacing suddenly cropped up and although I am not a coder and web designer through asking and getting ...
0
votes
1answer
20 views

How to Change Site Elements based on referring URL

I want to create WordPress website that changes branding and theme based on the referring URL. We provide white label services to funeral homes and we want to create a generic site where funeral ...
0
votes
0answers
11 views

Finding and removing a particular page that shouldn't be active

So I have rogue pages that are in my site, that shouldn't be there. Using a theme, and these are left over from the theme I believe. I'm new to wordpress, and I'm trying to figure out how to find the ...
8
votes
1answer
507 views

How to move page template files like page-{slug}.php to a sub-directory?

I want to move page template files like page-{slug}.php to a sub-directory within my theme, in a way that WordPress will recognize them automatically. If the page templates of the said form doesn't ...
0
votes
1answer
27 views

Selected template is not respected for home page in Wordpress

I have a theme, and I made two new files for different templates. I can now pick these templates when I post a page: This works perfectly when I go to any subpage. I made a page called Test, selected ...
-2
votes
4answers
2k views

WooCommerce My Account Shortcode

I'm running the latest version of WordPress (4.9.2) and WooCommerce (3.2.6) and I'm having issues overwriting the My Account template. I've created a file in my theme: theme-name/woocommerce/...
1
vote
1answer
136 views

OptimizePress Theme Overriding add_filter page_template

I have a custom plugin running the following function to change the page template for my predefined pages. It runs fine on the default 2017 theme but is being overridden by the OptimizePressTheme. ...
1
vote
1answer
115 views

Problem after renaming wordpress template file

After renaming the files of my templates and inside the file with php, it is looking for the old templates. The dropdown is no longer available. Why is this happening and how to fix that? The only ...
0
votes
1answer
37 views

Custom Articles page only showing a limited number of posts per page

I have been developing my own theme for my website over at http://haydenbjyoung.co.uk called FluX, and if you click on the 'Articles' link in the navbar, it only shows 5 articles, out of around 20 I ...
0
votes
2answers
62 views

How to add custom css/js files to a template in wordpress

I know this question has been asked many times but my requirements is bit different. Actually i want to add custom css/js to a particular template. First i show you my folder structure - I do have a ...
0
votes
1answer
67 views

What is the point of using the front-page.php template? [closed]

You can use front-page.php to create a static front page, it will override all other templates and static front page settings, but the problem is that you can't edit the front page then. You can't ...
1
vote
1answer
39 views

Single Page theme [closed]

I would like to build a wordpress website which is inspired by the home page of the Ace Hotel http://www.acehotel.com/neworleans. I need the content to be easily updatable by the users (non developers)...
0
votes
0answers
74 views

Create a custom theme-specific page, invisible in the admin-panel?

I've learned that when I want a custom page, I need to create a page template, create my page and assign the template to it. Also I've read about fake/virtual pages, where the page is generated on the ...
-1
votes
1answer
23 views

What happens to bespoke page template references on theme change?

Apologies if this has been asked before, I have searched for an answer but perhaps aren't quite using the correct terminology. I have inherited a WordPress site that uses a custom theme. Within the ...
1
vote
1answer
69 views

How do I change the scan depth for page template files?

I want to move my template files to a file sub-directory like ./tpl/page but it seems to only scan one directory deep. Is there a way in my theme that I can set it to scan deeper?
0
votes
1answer
37 views

Can you create a custom page with content in the center already defined?

Is this possible? So for example, you select from the templates a page called "custom-blog-home" and on this page in the centre you have two section, one is a set of blogs being pulled in and styled ...
0
votes
1answer
779 views

Query custom post type and showing its content

I am a newbie in developing wp themes and having troubles showing my cpt. I added new cpt in my functions.php file: // Creates Testimonials Custom Post Type function testimonials_init() { $args =...
0
votes
1answer
62 views

Widgets not showing on sidebars

I have registered two sidebars in my theme using the function below, but none of the widgets shows up in the sidebars even though I can manage them in the dashboard: // register sidebars add_action( '...
0
votes
2answers
55 views

How to use custom page templates in a theme that hides page template option?

My client uses a theme called "Imbalance2", which hides the template option in dashboard "page attributes" section. Is there a way to assign a custom template to a page despite this - rather ...
0
votes
1answer
48 views

Setting a new default template for the creation of a page

Right off the bat I would like to say that I am a WordPress noobie, so I'm really sorry if I infuriate you. I've recently taken over the management of a clients website an have been sent a request to ...
0
votes
2answers
2k views

Page Template Dropdown For Custom Post Types

I am using the following code to create a dropdown on the edit post screen which will allow users to choose page templates for the post type. The code is working but when I try using it multiple times ...
1
vote
1answer
15k views

How to add “Template” option in page attributes panel?

I am new in WordPress. In my theme, I do not have "Template" option in 'Page Attributes panel'. I want to add this option. I tried to solve this problem from the following post. But It did not work ...
2
votes
1answer
85 views

Returning Variables back into a template

If I put a function that I want to use in a template I can put it into functions.php function myfunction(){ echo 'My String'; } add_action('myfunction','myfunction'); and in a template file put: ...
0
votes
1answer
208 views

How to use get_template part in the plugin?

I was using the entire template in the plugin, but I would like to use get template part, so that I can reuse the header and footer in the original template. The code is like this: add_filter( '...
2
votes
1answer
619 views

Do I really need the div class entry?

I was wondering if it's really neccessary to keep the <div class="entry"> in the page.php file (or any other template for that matter). I typically use a blank HTML5 wordpress theme and it doesn'...
1
vote
1answer
721 views

Changing the template hierarchy

Is there an easy way to change the WP default template hierarchy? For instance; Say I want to change my theme directory structure so that it completely changes from the Template Hierarchy suggested ...
1
vote
1answer
738 views

Creating new templates in child themes breaks layout

I am learning how to create new templates in WP. I am using a child theme of Twenty Eleven. My problem is that whenever I create a new template the layout breaks. For debugging I stopped using any ...
1
vote
2answers
2k views

Wordpress ignoring specified template for front page. Why?

I'm using the Roots theme which with custom css. I'm using the page "Home" as the front page the page "Blog" as the blog page (in WP reading settings) I'm trying to set the front page "Home" to use ...
1
vote
2answers
29k views

Display a specific dynamic sidebar widgets on a specific page

I have had a wordpress site handed off to me halfway through completion. It's been at least a year since I last used wordpress and there are a lot of things I'm finding different. The way I am used to ...