- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
I tried to disable problem plugins (for example – NextGen Gallery) – couldn’t solve the issue
I’ve created new page and tried to add another page template like this – https://prnt.sc/vyclt9 or like this https://prnt.sc/vycnrm
Can’t help.
🙁
-
This reply was modified 5 years by
kibiribi.
We did this already. All settings margings/padding do the same – the logo moving with single image simultaneously.
So a gap from upper site border is making more. And we have a big empty space, that we dont need. We need to move only “single image” element.
Have you another solution? All theme/tamplates setting is defoult.
hi all,
tdcomposer not working ! i have some javascript errors in console :
Some messages have been moved to the Issues panel.
VM1606 post.php:4718 Uncaught TypeError: jQuery(…).live is not a function
at VM1606 post.php:4718
at VM1606 post.php:4805
(anonymous) @ VM1606 post.php:4718
(anonymous) @ VM1606 post.php:4805
jquery.js?ver=1.12.4-wp:2 Uncaught Error: Syntax error, unrecognized expression: undefined<div class=”tdc-sidebar-separator tdc-sidebar-text-separator”><span>Posts Loop</span></div><div class=”tdc-sidebar-element tdc-element” data-shortcode-name=”tdb_loop” data-start-values=”W3sibW9kdWxlc19vbl9yb3ciOiJleUp3YUc5dVpTSTZJakV3TUNVaWZRPT0iLCJtb2R1bGVzX2dhcCI6ImV5SnNZVzVrYzJOaGNHVWlPaUkwTUNJc0luQnZjblJ5WVdsMElqb2lNamdpTENKaGJHd2lPaUl5TUNKOSIsIm1vZHVsZXNfY2F0ZWdvcnkiOiJpbWFnZSIsInNob3dfZXhjZXJwdCI6IiIsInNob3dfYnRuIjoibm9uZSIsImFqYXhfcGFnaW5hdGlvbiI6ImxvYWRfbW9yZSIsImhpZGVfYXVkaW8iOiJ5ZXMiLCJpbWFnZV93aWR0aCI6IjI1IiwiaW1hZ2VfZmxvYXRlZCI6ImZsb2F0X2xlZnQiLCJtZXRhX3BhZGRpbmciOiIxMHB4IDEwcHggMHB4IDE1cHgiLCJpbWFnZV9yYWRpdXMiOiI3IiwiaW1hZ2VfaGVpZ2h0IjoiMTAwIiwibWV0YV9pbmZvX2hvcml6IjoiIiwibW9kdWxlc19jYXRlZ29yeV9tYXJnaW4iOiIiLCJmX3RpdGxlX2ZvbnRfZmFtaWx5IjoiNTIxIiwiZl9jYXRfZm9udF9mYW1pbHkiOiI1MjEiLCJmX21ldGFfZm9udF9mYW1pbHkiOiI1MjEiLCJmX2V4X2ZvbnRfZmFtaWx5IjoiNTIxIiwiZl9idG5fZm9udF9mYW1pbHkiOiI1MjEiLCJ0aXRsZV90eHQiOiJyZ2JhKDYsNTEsNzksMC44NikiLCJhbGxfdW5kZXJsaW5lX2NvbG9yIjoicmdiYSg2LDUxLDc5LDAuODYpIiwidGl0bGVfdHh0X2hvdmVyIjoicmdiYSg0NCw2Niw4MCwwLjg2KSIsImV4X3R4dCI6InJnYmEoNDQsNjYsODAsMC44NikiLCJjb21fYmciOiJyZ2JhKDYsNTEsNzksMC44NikiLCJzaG93X3JldmlldyI6Im5vbmUiLCJmX3RpdGxlX2ZvbnRfc2l6ZSI6IjE4IiwiZl90aXRsZV9mb250X3dlaWdodCI6IjYwMCIsImZfZXhfZm9udF9zaXplIjoiMTYiLCJmX2V4X2ZvbnRfd2VpZ2h0IjoiNDAwIiwiYXJ0X2V4Y2VycHQiOiI4cHggMHB4Iiwib2Zmc2V0IjoiNCJ9XQ==” ><div class=”tdc-element-ico tdc-ico-template”></div><div class=”tdc-element-id”>loop MO – template</div><div class=”tdc-element-delete” data-type=”tdb_loop” data-name=”loop MO”></div></div>
at Function.ea.error (jquery.js?ver=1.12.4-wp:2)
at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
at ea.select (jquery.js?ver=1.12.4-wp:2)
at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
at new n.fn.init (jquery.js?ver=1.12.4-wp:2)
at n (jquery.js?ver=1.12.4-wp:2)
at Object.updateSavedShortcodes (js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:589)
at Object.init (js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:558)
at js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:598
ea.error @ jquery.js?ver=1.12.4-wp:2
ea.tokenize @ jquery.js?ver=1.12.4-wp:2
ea.select @ jquery.js?ver=1.12.4-wp:2
ea @ jquery.js?ver=1.12.4-wp:2
find @ jquery.js?ver=1.12.4-wp:2
n.fn.init @ jquery.js?ver=1.12.4-wp:2
n @ jquery.js?ver=1.12.4-wp:2
updateSavedShortcodes @ js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:589
init @ js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:558
(anonymous) @ js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:598
(anonymous) @ js_files_for_wrapper.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:598
js_files_vue_modals.min.js?ver=c8cba5620a72d5b299fa8f62aeca6adfx:204 Download the Vue Devtools extension for a better development experience:
https://github.com/vuejs/vue-devtools
js_files_vue_modals.min.js?ver=c8cba5620a72d5b299fa8f62aeca6adfx:204 You are running Vue in development mode.
Make sure to turn on production mode when deploying for production.
See more tips at https://vuejs.org/guide/deployment.html
wp-seo-post-scraper-440.min.js?ver=4.4:16 Uncaught Error: The snippet preview requires a valid target element
at new H (wp-seo-post-scraper-440.min.js?ver=4.4:16)
at Object.f [as create] (wp-seo-post-scraper-440.min.js?ver=4.4:1)
at c (wp-seo-post-scraper-440.min.js?ver=4.4:1)
at HTMLDocument.F (wp-seo-post-scraper-440.min.js?ver=4.4:1)
at i (jquery.js?ver=1.12.4-wp:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)
at Function.ready (jquery.js?ver=1.12.4-wp:2)
at HTMLDocument.J (jquery.js?ver=1.12.4-wp:2)
H @ wp-seo-post-scraper-440.min.js?ver=4.4:16
f @ wp-seo-post-scraper-440.min.js?ver=4.4:1
c @ wp-seo-post-scraper-440.min.js?ver=4.4:1
F @ wp-seo-post-scraper-440.min.js?ver=4.4:1
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
ready @ jquery.js?ver=1.12.4-wp:2
J @ jquery.js?ver=1.12.4-wp:2
content.js:1 this is content page
content.js:36 Just visited https://meilleurordinateur.com/wp-admin/post.php?post_id=31090&td_action=tdc&tdbTemplateType=page#/
jquery.js?ver=1.12.4-wp:2 Mixed Content: The page at ‘https://meilleurordinateur.com/?td_action=tdc_edit&post_id=31090&tdbTemplateType=page’ was loaded over HTTPS, but requested an insecure element ‘http://meilleurordinateur.com/wp-content/uploads/2017/08/14.jpg’. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
(anonymous) @ jquery.js?ver=1.12.4-wp:2
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
ready @ jquery.js?ver=1.12.4-wp:2
J @ jquery.js?ver=1.12.4-wp:2
js_files_for_wp_admin.min.js?ver=819b7f9b02b0195f80e3eab970f44973x:27 (5) [i, i, i, i, i]
ace.js?ver=819b7f9b02b0195f80e3eab970f44973x:1 Uncaught TypeError: n is not a function
at n (ace.js?ver=819b7f9b02b0195f80e3eab970f44973x:1)
at a (ace.js?ver=819b7f9b02b0195f80e3eab970f44973x:1)
at r (ace.js?ver=6.0.5:10)
at Object.a [as require] (ace.js?ver=6.0.5:10)
at post.php?post_id=31090&td_action=tdc&tdbTemplateType=page:2758
at dispatch (jquery.js?ver=1.12.4-wp:3)
at r.handle (jquery.js?ver=1.12.4-wp:3)
n @ ace.js?ver=819b7f9b02b0195f80e3eab970f44973x:1
a @ ace.js?ver=819b7f9b02b0195f80e3eab970f44973x:1
r @ ace.js?ver=6.0.5:10
a @ ace.js?ver=6.0.5:10
(anonymous) @ post.php?post_id=31090&td_action=tdc&tdbTemplateType=page:2758
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
load (async)
add @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
ra @ jquery.js?ver=1.12.4-wp:3
on @ jquery.js?ver=1.12.4-wp:3
init @ td_wp_admin.min.js?ver=10.2:83
(anonymous) @ td_wp_admin.min.js?ver=10.2:92
content.js:12 tttt:
content.js:18 data:null
We have footer tamplete “defoult pro”
we dont want to change that footer. But we want to edit backgound of that footer.
Look at this – https://i.imgur.com/tQiJxUA.png
We put youtube id and click save, and when we view our site, we dont see video background in footer.
Also we have another qustion, if we want to change background image and dont change defoult footer, how can we change it?
If the cloud library is that much light weight and faster, wouldn’t it be an option to simply make all layouts available through cloud library, to avoid us using the version which pretty much slows down heavily? From what I’ve seen, not all elements from some themes, for example SayWhat theme, are available in the library?
Also any other tip what I could do to avoid the bad performance with standard pack? I’m running it on a 32GB RAM, E5-1650v3 CPU ( 6 cores / 21 threads ), 2x240GB SSD + RAID-1 server with dedicated up/down line, so I think it’s fair to say it should be more than enough ressource wise.
i want to change the thumbnails on a flex block 1 , vertical like shown bellow:
https://imgur.com/a/GB21q4N
for example i want even thumbnails to have top left border radius and odd thumbnails to have top right border radius
can i put a custom static ID on the block and do some styling like :
#custom-block-id > span:nth-child(odd) {
border-top-left-radius :20px;
}
#custom-block-id > span:nth-child(even) {
border-top-right-radius :20px;
}
or can u advice on how i can achieve it?
Hello!
You can remove Latest Article section easily with TagDiv Composer, selecting the row and with drag & drop place into the deleting red zone from the bottom right of the page.
To learn how to add/edit an element with TagDiv Composer check this: https://forum.tagdiv.com/tagdiv-composer-tutorial/
Thank you!
Hi,
You can reset the license from theme panel > system status -> https://imgur.com/FcSzuAu
then, go in Newspaper> System status and replace the url from: -> https://i.imgur.com/WlRnszw.png
admin.php?page=td_system_status
in
admin.php?page=td_system_status&reset_registration=1
And try after that to activate the theme.
Theme activation -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
Hope this will help you!
I purchased the theme recently. So it should be recent one. Here is the picture of system status. https://imgur.com/6qZX7RL
So what I check for plugins? I had several other theme in this web site before & maybe their plugins are still active or something. How can I check it?
Hi Christos Retsis, for me when I select that option, I save the settings and refresh the page, then the amp icon is display – https://i.imgur.com/IAU4Q1o.png
Thank you!
Hi Ali147, this problem appear when you try ti activate the theme, if yes, please try like this, go in Newspaper> System status and replace the url from: -> https://i.imgur.com/WlRnszw.png
admin.php?page=td_system_status
in
admin.php?page=td_system_status&reset_registration=1
And try after that to activate the theme.
Theme activation -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
If there is still a problem, you can send us an email at contact@tagdiv.com and provide admin login (to can login in WordPress admin zone) and the license. We will take a look to the problem and we’ll fix it. Include a link to this topic in the email.
Let me know the results!
Hi,
In the future, please try not to reply multiple times in the topic if possible, this will only delay our response. Replying multiple times will refresh the topic date and move it to the back of the line, we answer from oldest to newest.
Unfortunately the image from imgur is not loading for me -> https://i.imgur.com/6ZP7UKr.png an you please provide another one?
Also the “Activate Theme” is removed after the theme is activate, if you want to make sure that the theme is activate, please reset the key from theme panel> system status -> https://imgur.com/FcSzuAu then in System status replace the url from: -> https://i.imgur.com/WlRnszw.png
admin.php?page=td_system_status
in
admin.php?page=td_system_status&reset_registration=1
And try after that to activate the theme -> https://tagdiv.com/how-to-activate-the-newspaper-theme/
Hope this will help you!
Hi ejazkhan, indeed there is no option only for amp comments, if you are using the mobile theme plugin then you can use the options for standard post templates -> https://i.imgur.com/gbTSlhX.png this option can be use if you are using a pro demo or a single post template from tagDiv Cloud library for your posts.
Thank you!
thanks its working now,
Also
1. I have added a widget named ‘text with title’ in newsmag default sidebar.
but it’s showing out of the sidebar,
2. I have added sidebar ad & custom ad 1, in newsmag default sidebar.
but they are not showing in chrome, but when i open in incognito mode they are opening, i have tried clearing cache & cookies but its still not working.
Hi,
Please make sure that you are using the last theme vision, Newspaper v10.3.8 then if you’ll use the mobile theme with amp should work ok -> https://i.imgur.com/kUM7kuy.png -> https://i.imgur.com/9twtHeb.png if there is still a problem, please provide me a link to your website.
Thank you!
What’s up guys. I found a solution for the document.write() errors in Lighthouse/Gtmetrix site audits. I’ve done basic cross-platform testing [Firefox, Chrome, Microsoft Edge] and it cuts the mustard. For HEADLINE’s index (which optimizes through Td Composer, WP Rocket, Rank Math, and Asset CleanUp–I double-set the code:
1. At the top of HEADLINE’s head tag [sitewide] in the plugin “Headers and Footers Scripts” [Position 1].
2. At the top of the HTML tag in TagDiv’s theme panel [custom code][custom HTML].
I chose to double-set the {code-fix} because the Document.write() call is originating from Newspaper scripts and I don’t manage HEADLINE’s custom HTML there. I prefetch Google DNS Requests with WP Rocket and save custom HTML in “Headers and Footers Scripts.” The latter being hands-down the absolute best plugin to organize tags/add custom scripts and overwrite other plugins. I tested a number of {code-fix} arrangements and found that when I only set the {code-fix} in “Headers and Footers Scripts” that some of the Document.write(s) can slip through the cracks. Alternatively, if I only set the {code-fix} in the TagDiv theme panel, Wp Rocket’s Google DNS Requests override the custom HTML. So hierarchically, “Headers and Footers Scripts” can reposition the TagDiv custom HTML to take first-bite at the Document.write(s) while still allowing WP Rocket to prefetch the Google DNS.
I re-audited HEADLINE (with Lighthouse and GTMetrix) after optimizing the {code-fix} placement and HEADLINE’s speed/optimization scores shot way up–which actually makes sense if you think about what document.write() is really doing. Code calls for document.write() are telling the parser to rewrite the page mid-read, which can lead to bottlenecks and pose security concerns, especially when compared to security-heavy iframes or other delayable embeds.
Also, it’s worth noting that the document.write() code fix I’m using on HEADLINE is not exactly best-practices. In a perfect world, digital ads would natively load asynchronously. But until Newspaper and other themes drop support for document.write() altogether, AdjacentHTML will have to do.
If you guys want to check out a heavily-customized Newspaper site, head over to HEADLINE.dev. I’ve built a fully-responsive 4-screen Newspaper page, as well as a totally custom Amp site for mobile and desktop. Every single desktop page has a custom Amp version. I even built a one-of-a-kind Bootstrap form (Amp-compatible, Formidable Forms-based) called Funder by HEADLINE. I’ll be writing a series of articles, like this one, about how to optimize/extend the Newspaper theme.
I’d also like to mention that I am not a professional WordPress developer. There are all kinds of kinks I’m still working out with HEADLINE, but I feel so fortunate to be a part of the Newspaper community, and the TagDiv team is absolutely world-class! Take care guys.
Aaron Martinez
headline.dev
(script-tag)
document.write=function(s){
var scripts = document.getElementsByTagName(‘script’);
var lastScript = scripts[scripts.length-1];
lastScript.insertAdjacentHTML(“beforebegin”, s);
}
(script-tag-close)
The primary factor in page speed is load-efficiency. For example, you could be using relatively few mods and still get a bad page speed score if you aren’t implementing proper pre-load rules, modifications, etc. Alternatively, you could make hundreds of mods and get a 99% page speed score if you optimize it to oblivion. But as a rule of thumb, try not to use more than a few flex-blocks. Also, in TD Composer, hard-coded style mods you make will load slower than the external custom css sheet. So try to make site-wide css changes in the external style sheet so you can optimize it with your caching plugin. If you want to add plugin-based blocks, I’d recommend Genesis and to a lesser degree Advanced Gutenberg.
Al oprimir el botón Edit with TagDiv Composer aparece el siguiente error:
No se puede acceder a este sitio Es posible que la página web en https://www.builders.technology/revista/wp-admin/post.php?post_id=469&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2Fwww.builders.technology%2Frevista%2F no funcione temporalmente o se haya trasladado de manera permanente a una nueva dirección web.
ERR_HTTP2_PROTOCOL_ERROR
Muchas gracias por la auyda
I chose to hide and then saved it & but the author and date do not disappearing. Please see this picture.
https://imgur.com/d6KtsNS
Hello, how can I modify and adjust the original graphics and text on the template after the theme is installed? The modification and adjustment have been for a long time, but the font and presentation style are always adjusted. Please help, thank you.
In addition, in the mobile layout section, whenever you want to select installation in CLOUD TEMPLATE, I tried multiple times in the past two days. After the installation is two-thirds, a red warning message appears and tells you to cancel the action with crtl+Z because the installation failed. , Resulting in two major line codes always appearing on the mobile phone endpoint website:
Warning: require_once(/home/customer/www/twasiatimes.com/public_html/wp-content/Newspaper/tagdiv-deploy-mode.php): failed to open stream: No such file or directory in /home/customer/www/twasiatimes.com/public_html/wp-content/plugins/td-composer/mobile/functions.php on line 11
Fatal error: require_once(): Failed opening required ‘/home/customer/www/twasiatimes.com/public_html/wp-content/Newspaper/tagdiv-deploy-mode.php’ (include_path=’.:/usr/local/php73/pear’) in /home/customer/www/twasiatimes.com/public_html/wp-content/plugins/td-composer/mobile/functions.php on line 11
Also, at the beginning, I mentioned that in the part of revising and adjusting the template, although the photos and texts can’t be replaced, but taking LOGO as an example, LOGO TEXT has changed the Logo text tagline and adjusted it, and also has SAVE. Looking at the website, not only the ICON next to the title is still the old template, but the LOGO TEXT is also before the modification. Only the Logo text tagline has been modified and adjusted. The font selection NATO SANS JP seems to be useless…
Because I am not a developer, I only have journalist experience. I originally wanted to change the professional theme and use the favorite Mintyside layout. I thought that as long as the original website output content file, when the theme is changed, then input the pre-output WP website file. Apply the theme and keep the original content, but it doesn’t seem to be that simple,,,,,,,,, because of my decision, the company shut down the website for a week or two. I really need your help and assistance. It seems I can’t do it by myself Yes, can you help? Or have good suggestions? You can pay for it, just want to solve the problem quickly, Let things go on smoothly, so that some of us who have been in the media for more than 20 years, strive to improve the problem of global media chaos, the goal can be carried out as scheduled, thank you
Hi Calin
I do all you write me before and nothing change.
I find this error message in Cpanel, maybe is this the reason of the problem?
How can i resolve it?
[Thu Dec 03 16:40:37.372766 2020] [authz_core:error] [pid 3684131] [client 181.43.217.219:20756] AH01630: client denied by server configuration: /home/dimecuch/public_html/app/wp-content/plugins/td-composer/includes/wpeditor.php, referer: http://dimec.uchile.cl/app/wp-admin/post.php?post_id=13416&td_action=tdc&tdbTemplateType=page&prev_url=%2F%2Fdimec.uchile.cl%2Fapp%2Fdoctorado-en-ciencias-de-la-ingenieria-mencion-mecanica%2F
Thank you
Gis
Thanks Vlad.
I confirmed that form is showing up on the AMP version of a new blank page I created, but I need the form on the single post page. It uses the “Single Post Template – Estates” template.
How can I achieve this?
Hey people there is one issue with sharing the post specially on WhatsApp. our website the news portal and the client is facing many issues with WhatsApp shared link, many times this happens that on the shared link the feature image is not loaded but with few links everything goes perfectly. We have been trying to resolve this for so long but not able to get the solution.
Here is the sample link:
https://www.voiceofmorbi.com/હળવદના-ધનાળા-ગામના-પાટિય/
I’m using Newspaper 9.5 and I can’t find the setting you are suggesting.
I would like to switch to Roboto for all elements on all pages of the site, but when I turn on Google fonts and go through all font settings in theme panel in order to change to Roboto, the speed of the site slows down considerably.
I tried different options to achieve what I need, but without success.
For example, I added the following to the head section:
<link rel=”preconnect” href=”https://fonts.gstatic.com”>
<link href=”https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400&display=swap” rel=”stylesheet”>
then added the following to the custom css field in the theme panel:
p {
font-family: ‘Roboto’, sans-serif;
} – unsuccessful, there is always a mix of styles on the pages.
I don’t want to use extra plugin for this.
How can I edit the Default font of the site using theme files? Probably there’s something I could edit in the theme files?
Thanks!