Not able to create Header in Elementor - wordpress

I am not able to created Header in Elementor as i keep getting below error
“Sorry, the content area was not found in your page. You must call the_content function in the current template, in order for Elementor to work on this page.”
i have a one page website with header on the same page now i want to create Header Template so that i can add same Header to different pages as i have to show some post for that i want to create a second page which will show post and whenever i try to create Header i keep getting above error in elementor.
I am using Elementor Canvas for Home Page which i have created so if i need to add the_content function i am not sure where to add it?
UPDATE: It seems issue is due to ElementsKit Lite plugin as i have created menu using the same plugin and when i want to create new Header its not letting me so as there is some conflict with this plugin ElementsKit Lite

ElementsKit uses Elementor's template function. When creating a header template, are you doing it throuhgh the Elementor Theme Builder?
Wordpress Admin > Templates > Theme Builder > Add New

If you are Elementor pro. user navigate to
Templates > Theme Builder > Add New > Select type Header from the dropdown menu.
After Design the header design navigate to little top arrow beside Publish
Now click on Display Condition and add a condition for the entire site.
That's all.

Related

Wordpress custom template on every new page (Elementor)

I have wordpress and am using Elementor editor. I have added a page that is meant to be a template for each new pages. I added a block with breadcrumbs to this page. I want this page with breadcrumbs on evey new page that i create. Copying this page all the time creates problems, e.g. if I wanted to change something in this block so I must do this on every subpage. I do not know how to do it - all i want its one static page with that breadcrumbs that includes to every new page i create, and when im change something in this page, changes will appear on every page.
Help :( Photo below
https://i.stack.imgur.com/G1EyI.png
Use the "Template" block in Elementor
That is achievable with Elementor Pro using theme builder option.
Create that template as a single page template and then in display options choose to display it on all pages.
Creating a Single Page Template with Elementor Pro
Then you should use standard page editor or custom fields to put content that is then going to be rendered by the template.
Doing that will let you make changes on all pages at once by editing the template.

Adding CSS Class/ID to display a section in one page at a different page (Elementor / Wordpress)

im using elementor to create my website .
I have a section (Size Guide) on a single page which I would like to display at each single product page. How do i go by doing it ?
size guide
page to add the size guide
First, you create one template of the section which you want to display on each single product page.
Then go to a particular page where you want to display the section. and click on add template
then click on my template and select the section which you want to add and insert it
Have you considered
creating your size guide via templates > new > template type: section
then from templates > saved templates, copy the shortcode for your size guide
navigate to your accordion and paste in your shortcode
Everything should be good when you then preview the page

Which template is called by WordPress

I am using WordPress and Elementor plugin. Now, I am trying to create new template for the header and footer part using Elementor Plugin.
When I click on Template -> Add New It's showing an error like that :
"Sorry, the content area was not found in your page. You must call
the_content function in the current template, in order for Elementor
to work on this page."
My question is which WordPress template file this element is called at that time?
I found it. It's a single.php page.
Also, you can use Query Monitor WP plugin to view which pages/templates are loading in the current screen

Custom Page Templates in WordPress to show Content in specific layout

I want to create a custom page template in WordPress which shows Image Slideshow and then a video below it and finally some text - till now what I am able to do is play with sidebar, footer, header.
I can either remove them or keep them in my custom page templates but what I want to do is play with the page contents.
The Admin user should be able to see these sections in the Page Editor (WYSIWYG) when they choose the Template from the drop-down, so that they can accordingly add the correct content in correct place holders
Something like the attached screen-shot is showing
Is this possible in WordPress
Yes! It's possible to implement this! you can use https://codecanyon.net/item/visual-composer-page-builder-for-wordpress/242431 or https://wordpress.org/plugins/siteorigin-panels/ plugin.
The first plugin allows you to create different page layout and save it. It also allows admin to choose page layout that admin has saved previously.
The second page builder plugin allows you to create template same way and allows admin to clone one page layout to another one.
Hope this will help you!

how to get the template homepage back on storefront?

I installed storefront and at the end I untick the default homepage so it didn't create that page. So once the starter guide of storefront is over how can I get that default homepage back?
I tried deleting and installing the theme again but somehow that starter guide doesn't show up again.
I really want the layout of the default template, is there anyway I can get it back?
You need to assign the homepage template to a page.
Go to Dashboard > Pages > All Pages
Click on Add New to create a page
On the right you will find a box title Page Attributes
Select Homepage from Template
Click on Publish.
Now if you want to show this page as your homepage, go to Settings > Reading and make sure A static page (select below) is selected. Select the the page you've created earlier. Then click on Save Changes.

Resources