- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- ApiPractical example – How to add a new Block and Module
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- ApiUsing the Theme API in plugins
There is an important note in the tutorial:
The AMP template will only work on pages that do not use any page builder. Only pages that are created using the standard tiny mce editor will be valid AMP pages.
I think that means if your home page was built with TD Composer, it will not have AMP version
-
This reply was modified 7 years by
kekuleh. Reason: used block quote
Hello again,
So I double-checked the adsense code snippet. It’s correct.
1. Ads added using tagdiv blocks on the homepage insist on appearing as squares, even though the space would suggest they should be long and thin. These are Custom Ads 1 and 2 and the code snippet I’ve pasted into theme panel is:
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: “ca-pub-3503819165109177”,
enable_page_level_ads: true
});
</script>
Auto size is definitely on for all screen sizes. I haven’t changed any sizing from the default setting of auto.
2. Into my Cloud Template – property category (so still using the link/example from my previous post) I’ve copied and pasted the code for the ad from sidebar which I know is working. This is done using TagDiv Composer and editing the ad positions that you access when you click on “sample post content” within the template editor. I want the ads to appear top of the article, inline (after 3 paragraphs) and article bottom of the property posts. (I’ve now removed the titles from ads so you don’t see the positions marked anymore). Still not appearing.
3. Copied the ad code from the article top ad position (property template) and adding it to sidebar ad within theme panel. Saved. Refreshed. Sidebar ads do still appear.
4. Not sure I’m doing this right. Created new page. Opened in tagdiv composer. Added ‘Column text’ element. Copied my ad code snippet (the one that works for sidebar) into the ‘edit content’ editor – text view rather than visual. saved. I see nothing other than the block title? https://wmw-dev.co.uk/test-ad-page/ (Also added an adspot – sidebar) and that seems ok.
Any thoughts and advice much appreciated?
Thanks,
Naomi
but it is a post not a page.
I do not use TD Composer. It is visual composer for this post.
https://ibb.co/mr1FqU
On all other posts (exept one more) from this template I do not have it.
For example here is the same template https://myukvisa.ru/tipi-viz-v-velikobritaniyu/biznes-viza-v-velikobritaniyu/
but no such block.
Thank you.
I believe you are referring to the scroll on mobile, when using the menu, using the dental studio demo.
There could be some scrolling issues on mobile only, the scroll may not stop where it is supposed to. That is on our list and we will try to optimize it in the future. Sorry for the inconvenience.
That design is called a menu overlay in the theme, and there is a page template provided for it, like this example demo page
– https://demo.tagdiv.com/newspaper_nature/news/
So you can select that template for the page you want
– https://www.screencast.com/t/iQ3XNg7aXv
Hi,
First you can check our documentation for newspaper ( https://forum.tagdiv.com/newspaper-theme-documentation/ ) there you can learn a lot on how to create your blog/wesite.
And yes you can create or chose a new template for post, page, author, 404 page, etc. ( https://www.screencast.com/t/KJkLmZf0B ), and you can change it wen you like it,
for this you’ll need to install an plugin tagDiv cloud library, after installation activate it, click on it and click on add new ( https://www.screencast.com/t/yVQrWUQF )
then will appear a window with many templates (), they have suggestive title; chose anything you like, click on it ( there you can preview to see if you really like it ),
if you like it click on create template ( https://www.screencast.com/t/ku5O7ef0w1S you edit it if you like then save it and use it very time you like it) , if you don’t like any of them you can create your own template search
for the Blank template ( https://www.screencast.com/t/UCrhvPhEmM ) .
You can have the same template on all of your post from Newspaper > Theme panel > Post settings > Default post template ( https://www.screencast.com/t/KHA2mywY4U )
or individual template on post, go on the post section, select the one you wish to set a different template,
and at the bottom of page you will find Post Settings > General > Post template ( https://www.screencast.com/t/BLxfDM0Af60x )
Also you can check your documentation for page ( https://forum.tagdiv.com/page-templates-2/ ), post ( https://forum.tagdiv.com/post-templates-2/ )
Please lets us know if you have more questions.
Thank you.
Hi,
You can set an image as featured, a thumbnail of it will be shown in all modules
– https://forum.tagdiv.com/featured-image-or-video/
– https://forum.tagdiv.com/theme-thumbs/
The image will appear in the top of the post page for most templates, you can see how the predefined post templates look in the live demo (Features->Post templates)
– https://demo.tagdiv.com/newspaper/
The exceptions are post templates 5 and 12, the featured image is not shown in the posts that use these templates.
If you set an image as featured, then add the same image in the post content, it will appear twice in the post page.
Please let us know if you have more questions.
Thanks
Hi,
1. You can use Visual composer, or the tagDiv composer. We recommend the tagDiv composer however. Our front-end builder has a considerable amount of options, elements, multi-purpose features etc.
Also in combination with the Cloud library plugin it can be used to design/import beautiful templates (for post pages, category pages etc)
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
All of these are not possible with Visual composer in the theme.
2. Could be the most common mistake, maybe you are not uploading the image in full size. For example as a footer background
– https://www.screencast.com/t/IXxn8rfOkA
– https://www.screencast.com/t/L5jPISPd
3. Can’t say about social login, I have no information about the status or progress made in this matter. At some point it may be available.
Please let us know of you have more questions.
Thanks
Hi,
How can I add a new template for “pages”?
We can create new templates for “posts” using cloud templates
but I want to do same thing for “pages”.
If it’s possible, I can redesign many pages later easily.
If it’s not possible, could you give me some advice for changing the design of many pages later?
For example…”When you create new page, add extra class and use CSS” or something…
Hello suraj1kc,
Those footer templates are custom made -> https://forum.tagdiv.com/footer-templates/ and all of these can be customized only through the code. Another alternative for you would be to use a Footer Page functionality. You should create a simple page and then set ut it as Footer Page from here -> https://www.screencast.com/t/VqdvPs7ePyv Using this functionality, notice that page can be created with TD Composer and the good part is that you can customize each element as you wish.
Hope this helps!
Thanks for your understanding!
Ok, I can import a template from cloud and edit it from front end like pages right ?
Hi,
That icons appear in top menu, if you don’t have it activate will not appear on desktop.
In order to remove them you need to go in Newspaper > Template panel > Social Networks and from there remove them by empty the field as in example.
They my look like this : https://www.screencast.com/t/eGr4L2iqKVj
Where you find the settings : https://www.screencast.com/t/dJ42Bb0ou
How it looks after : https://www.screencast.com/t/zqGKxfdZ
To see the results you can use the inspector by right click on the page https://www.screencast.com/t/x8lRHVAejamv
Thank you.
Hi,
This is possible, now you can select different template for each Author,
in order to do that you need to add (or create ) tow Author templates and from panel select from each one individuality the template.
To be more clearly I will guide : go in Cloud Templates, click on Add New from the top of page https://www.screencast.com/t/Scp5baszj7Z
section Author select the template you want to set, click on Create Template ( you can create if you don’t like any of them by selecting the blank page )..
after you choose yours templates go on Newspaper > Theme panel > Template settings > Author template and in section “TDB individual author templates”
set your templates after that don’t forget to save the settings https://www.screencast.com/t/cYfRNa8TW30Q
Thank you.
Hi
So on THEME PANEL I go to TEMPLATE SETTINGS and for things such as 404 and Search I set a template that I have made with CLOUD LIBRARY. However every so often after a few hours for example, the 404 and Search pages revert back to the original default layout and not to the CLOUD LIBRARY ones that i built. and then when i go and check the theme panel it shows that the cloud library ones havent been selected and i have to reselect them to apply them to the theme.
why does this keep happening? thanks
Hi,
Development site: http://www.wmw-dev.co.uk
I’ve created 4 cloud templates for 4 types of news articles on my site. Each of the following has its own template:
* Property
* Business
* Lifestyle/Fashion
* Viral/ Entertainment
All the other news pages (local, regional… etc) are just using the default theme template.
Within the custom cloud templates using tagdiv composer, I’ve placed up to three google adsense ads by copying and pasting the ad code into the correct place within ‘post content’. I’ve also given each ad a title so I can see where it should be within the code. If you check out this item (https://wmw-dev.co.uk/britney-spears-former-palatial-pad-on-the-market-again/) you can see the titles but not the ads. Ads are appearing all the other places they should be – side bar, headers etc and even within the custom themes where I’ve added them outside of the post content – e.g., the row of 3 blocks at the bottom of the link I’ve given. It seems to be top / inline / bottom within ‘Post content’ that aren’t appearing.
I’d appreciate any advice you can give and am happy to supply logins if required.
@crazydiver Anywhere the tagDiv composer can be used, the newsletter can be used. So that means pages, post templates, category templates, author templates etc.
Hi carlosn,
Please check our documentation for instagram https://forum.tagdiv.com/instagram-widget/ also please check our documentation for sidebars too
https://forum.tagdiv.com/sidebars-tutorial/
To display instagram on a sidebar drag and drop the instagram in the sidebar you want to be put and don’t forget to set instagram id ( you can find the instagram id: https://www.screencast.com/t/m1vowyHA where to put the id https://www.screencast.com/t/buWdhrWtpK7X
If this is done then set the sidebar on pages you wish to appear ( newspaper > theme panel > template settings
https://www.screencast.com/t/CQz3iLgSh
To display instagram on one single page, open the page with tagDiv Composer hover the empty column ( or create new one ) click on the row ( from left corner of hover ) and chose how you want to by display the content ( 1/1 column, 2/3+1/3 column etc.) after that search for instagram and drag it from the left side in the column you want to be shown, after that set ID instagram https://www.screencast.com/t/2lkTLCyGxy
If there still is a problem please send us an email at contact@tagdiv.com with your log-in information ( username and password) to take a closer look.
Thank you.
Hi chucnguyen,
Style 5 is a templates of newspaper theme, (here is all the theme templates https://forum.tagdiv.com/footer-templates/ ,
unfortunately there is with max 3 columns ).
If you want to customize your footer you need to create a page and set it as your footer page
( Newspaper > Theme panel > Footer > Footer settings) .
In order to create a footer page I make you same examples https://www.screencast.com/t/G21yTg7MvP7 open the tagdiv composer
https://www.screencast.com/t/lQMR9Uhz , after opens the tagdiv Composer hover with mouse the empty column and
click on row https://www.screencast.com/t/lQMR9Uhz. After you add all info you want on your footer page save it and set it from
Newspaper > Theme panel > Footer > Footer settings as your footer page ( https://www.screencast.com/t/BpOS70RLTL ).
Or you can use cloud Templates were you can find in section footer new templates for your desire, or you can create/customize
new templates for footer or other section .
Thank you.
Hello ecstaticperson,
It seems to be strange behavior, sorry! Try to make some changes to your theme panel regarding on Category (for example, change the category template to another), save it, clear all the caches and check the results. If the problem is still there, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further investigate it closer to your setup page. Provide there the link to this topic so we can quickly identify you.
Thanks for your understanding!
We have had problems activating/deactivating plugins from the administrator role. It doesn’t work. Our page receives on average a traffic of 10,000 visits and we have seen that the bug that we are evidencing may be of the template.
Do you have examples of pages that use your template and have this level of traffic?
What solutions can be given to fix this bugs that have been presented to us when modifying plugins?
We are attentive to your response,
Thank you very much
Hello fredy,
Please notice that the sort order of the default category pages is the only setup by latest articles. Another alternative for you would be to use the Cloud Template Library and create a category page with your desired blocks which can be sorted by more options. Check the block settings. -> https://forum.tagdiv.com/newsmag-block-settings-tutorial/ -> https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Thanks for your understanding!
Hello,
You should use the category template and customize the page with TD Composer which allows you to add some ads everywhere you want on your category page. Check here -> https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Thanks.
Hi,
We recommend the tagDiv composer, this way you can take advantage of the multipurpose elements, the cloud library plugin and others more
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Use it to create pages, post templates, category templates, author templates etc.
WPBakery can still be used with the theme and it will be provided and updated, just that the new features will not be possible with it. When both composers are active there could also be issues in some cases.
Hello,
There is no way to add content into the category on the existing default templates. Only by creating a new template can you ad your preferred content to the category page. You can import already made templates and then simply place the ads you want on the page without actually creating it from scratch.
Thank you!
Hi Simion,
I have done this.
Also please note, I am able to change the word ‘Home’ if i create a category template from the library through the settings, but I cannot change the word on other pages etc.
I get this trying to load Cloud template
TagId composer is not working as well … Page created with TagId are seen as “Non a tagID page” … and nothing is running …
I haven’t changed any settings or plug or what you want ..
Can you explain ?
Thanks
Eric