- 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
Hello,
Thank you for your feedback.
1. The amp template was created on the default WordPress structure. If you have altered folders in your install, this can be a consequence of that. Can you provide more examples or more detailed explanations on how you have the folders set up so we can get an idea? If you do not want to share this info publicly here, you can contact us via contact@tagdiv.com
Please note your home url will have to be == to the site URL. The tagdiv composer requires this for proper functionality.
2. Yes there are different thumbnails between amp and the regular page. This is not a bug. For the moment there are no settings to change the thumb used
3. The about us section comes from the footer options of the theme panel under Footer Info content
Thank you!
First of all, great work on having your own working and optimised AMP plugin 🙂 I’ve switched from using the Automattic AMP plugin to this one on my site.
Some feedback from myself – I know it’s still an initial version so I understand more updates will be coming, but here they are:
- On the /amp page, the search icon/button on the top right links to the WordPress Address URL, and not the Site Address URL (i.e I have my WordPress files in a folder structure, so the search icon goes to 404).
- The Related Articles on the /amp page are using 300×194. Hoping there are more options on the administration panel to either disable thumbnails, or use other dimensions? For example if I visit my site on a mobile (regular page, and not the /amp page), the Related Articles are using a different thumbnail dimension/block
- There is an empty “About Us” section on the Footer of the /amp page. This is probably my fault for not knowing where should I enter the information in 🙂
For those who want to “hack” or edit the plugin files and know a bit of PHP:
- Change search URL: under td-amp/templates/header-bar.php, change “site_url” to “home_url” on line 22
- Disable About Us on Footer: under td-amp/templates/footer.php, comment out line 46 (add a ‘//’ in front of the About Us print-out line)
Hello –
I’m using Block 21 on my home page, but I also use it throughout the site. I can’t figure out how to change the color combo of the text and header block. On this page, it’s white letters on blue (which I like) https://www.kvnutalk.com/for-the-people/
And on this page (scroll down about halfway) it’s dark gray on black https://www.kvnutalk.com/
Any help would be great – thanks!
Hello fotoko,
Here is talking about the page template. If you need to remove that section from the bottom of the page, you should simply change the page template from here -> https://forum.tagdiv.com/page-templates-2/
Thanks for your understanding!
Hi,
1. The post content width cannot be changed with a theme setting. However, in an upcoming major theme update there will be a considerable amount of flexibility added to how the post pages and templates are created, among many other new options. You will have many new options to create post pages, I cannot say more about it unfortunately.
2. There are a number of demos in work I believe, we try to create and add as many as possible. That demo you mention is somewhat similar to this one
– https://demo.tagdiv.com/newspaper_lifestyle/
Thanks
Hello,
The transparent menu can only be used on pages where the overlay page template is selected. On other pages there will be a standard menu. It will not go over the other content if the specific page template is not selected for other pages as well.
Thanks.
@Alicegreentree – From the changelog it was dealt with in v8.7.3
Version 8.7.3 – April 18th, 2018
new: font settins can now be saved as a preset and apply on all the blocks from tagDiv Composer easly
fix: pinteres board url
fix: facebook videos support now works again
fix: we updated to the latest instagram api, this should fix all the problems
fix: updated multipurpose plugin with fixes for: boarders, image settings, newsletter and font settings
fix: Big grid slider with no posts
fix: Various css fixes
fix: header ad when block template 17 is used
fix: gallery slider now works in pages as expected
fix: background click ad on template 8
fix: amp points and percents are working as expected now
fix: css fixes for trending now block
Hello,
There is no menu in the amp pages. Please inspect this template:
https://demo.tagdiv.com/newspaper_crypto/td-post-interpol-to-increase-measures-against-btc-laundering/amp/
This is the default amp implementation in our themes. If your theme shows any different, please provide a link to your site so we can inspect it.
Thank you!
Hello,
this is a very specific issue and likely more wordpress related than not but here goes.
for our site we are creating an alphabetical index.
To achieve this we enter a (mostly) lastname in the custom field keyword, of which the first letter is stored in an additional field called alphabetical_letter.
We have created a script that does this for any article we update manually. However since we have a large database we have no desire to do this for each single post… is there a way to achieve this for the whole database and make this script below run once for all posts ?
function my_acf_update_letter( $value, $post_id, $field ) {
$taxonomy = 'alphabetical_letter';
$first_letter = strtoupper(substr($value, 0, 1));
wp_set_post_terms( $post_id, $first_letter, $taxonomy );
// return
return $value;
}
add_filter('acf/update_value/name=keyword', 'my_acf_update_letter', 10, 3);
I have been informed that I should “hijack” the page template mechanism that displays multiple posts, but since the theme is rather complex I’d like some help to know where exactly I should be looking.
we have been trying and experimenting but havent had a lot of succes thusfar so any help is greatly appreciated.
Hello Gutschein-Zeitung,
Do you want to have comments on pages? If you want to have this, you should use the Default page template and enable the option from here -> https://www.screencast.com/t/UaPWMrJyL9dB and the result is here -> https://www.screencast.com/t/sLcHLYc9wBi5
Thanks for the message!
Hello Catalin
We have already disable the button that you have prompt to us but is not the correct !!!
The point that we have marked in our previous photo is not the button that you suggested…
Any other ideas???
If we wish to make any changes directly to the file structure how we can locate this template is any special file ? Is on page.php ? is at style.css ? Any help ??
Hello,
While trying to save my work in tagdiv composer I receive an invalid page template notice and cannot save: http://cld.publisherdesk.com/242Q412k2C1K
Can you point me in the right direction of what could be the issue?
Thank you,
Jeff
Hello RedFish,
The related articles should have to be disabled from here -> https://www.screencast.com/t/Dgslu5DcPhf and if you want to change the structure of your post page you should edit the theme core files (single, loop template). If you are not aware of the steps please consider hiring a freelancer/developer to help you because we cannot provide support for additional customizations.
Thanks for your understanding!
Hi guys,
yesterday all was good when looking at my articles, but today i see that the sidebar has changed position. It was on the right side of the post, but now is on the left and falls over the content.
See screen:
http://i201.photobucket.com/albums/aa183/Saikological/sidebar%20left_zps1d2rnrtt.jpg
My global settings are:
Default post template: style 2
Blog and post template: sidebar right (3rd option)
I dont understand why the sidebar is showing on the wrong side of the page, on each post.
As all my settings seem correct, how can i fix this?
Hello,
Please check the page template settings: https://forum.tagdiv.com/page-templates-2/
Thank you!
Bogdan B
You can do it. Follow these instructions:
- Go to the wp-admin of your WordPress Site
- Click Newsmag and go to the Theme Panel > Footer
- In Footer, you can choose FOOTER TEMPLATES style what You Want.
That’s All.
Conclusion: You can modify the footer from the footer section of the theme panel. But sometimes if you choose the right “style”, then you can add and change widgets that exist in the footer via the Widgets page.
I’ve also experienced the same problem, but the problem only occurs in the article pages.
Make sure you have installed all the plugins needed by NewsMag.
If you ever change the theme from NewsPaper to Newsmag, then in the page editor of your article, go to the bottom, in the Post Settings > General > Post Template, you choose the right “style”.
After that try to update. I hope it works.
Hello,
Sorry but our theme does not provide such options. Pleas read this forum topic for a solution into adding custom ads to the category templates via php code:
– https://forum.tagdiv.com/topic/place-ad-in-main-category-grid/
– https://forum.tagdiv.com/topic/how-to-add-or-created-ad-block-in-category-page/
Thank you!
I had troubles through the instalation of template. Finally, I installed it via file manager of my cpanel. I tried to press the “Live Preview” button but it doesn’t work! Please let me know how to fix it.
Ehm, No…it’s a theme’s function not an external plugin. I even copied here the code in the template’s core file (https://www.screencast.com/t/3qKH5ORt74)
$buffy .= '<meta itemprop="ratingValue" content = "' . td_review::calculate_total_stars($this->td_review) . '">';
That code is generating this (example screenshots):


Code in the article (as you can see it is generated by the theme):
<span class="td-page-meta" itemprop="reviewRating" itemscope itemtype="https://schema.org/Rating"><meta itemprop="worstRating" content="1"><meta itemprop="bestRating" content="10"><meta itemprop="ratingValue" content="3.3">
So the problem isn’t mine, but the code is wrong. Here’s an explaination of what ratingValue is “The rating the reviewer gave” (source: https://yoast.com/rich-snippets-product-listings/). Well, right now the ratingValue doesn’t rappresent my vote, but the number of stars that i’m not even using (I’m using Point vote, not Stars).
Hi, I installed the AMP plugin provided with the theme, on my website http://www.ecomesifa.it, but it does not work, the pages are always opened with the normal template and never in amp. How can I solve? Thank you
well i need something like the categories page…Can u tell me inside which file i must enter the shortcode just like the “td_category_template_1.php”.
Another question : Can u inform me, how much must be the background image for the background ads?
Thanks again
Hello,
Sorry but you cannot use the tagdiv composer on other templates besides pages in our theme. If you want to change the latest articles settings please use this guide: https://forum.tagdiv.com/page-templates-2/
Thank you!
Hello,
My previous template used Featured Images on the homepage only and not within the post itself. To add an image to a post I used the Add Media function within the post. I have hundreds of posts set up this way. Now using Newspaper I’m seeing duplicates of the images. Is there a way to designate my Featured Images as only being used for the homepage.
Thank You
Did not solve
I believe this appeared after some changes to the template configuration page.
I looked at everything, but I can not find a place with this setting.