- 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
Hi,
The ajax filter will display all categories when enabled. If you want only specific categories to be displayed there, you will have to enter the category IDs in the filter
– https://www.screencast.com/t/0BUEtaXqhFH
You can see the category IDs here for example
– https://www.screencast.com/t/ofdyjPV7u
Thanks
Hi,
The main menu background can be changed in the theme panel, this will affect the whole website. An option to have different colors by category does not exist, unless custom code is used.
This is an example where I used a code to achieve different backgrounds, by category
– https://www.screencast.com/t/sqfbHe3jV
– https://www.screencast.com/t/5ELJAvc5p
Notice that that by using the category unique class in the code, the results are like you want. Each category page displays the category name and category ID on the body
– https://www.screencast.com/t/VS62hv9PJ
You can use either one in the code
– https://www.screencast.com/t/t1cXHbXgK
This is the code used in the example
.category-2367 .td-header-wrap .td-header-menu-wrap-full {
background-color: blue;
}
Create a different one for each category, then enter it in Theme panel->Custom CSS
– https://www.screencast.com/t/C6nCeuB5HF
This is also a useful tutorial about using the browser inspector to identify the elements on the page and created code for various customization
– https://forum.tagdiv.com/create-custom-code-using-the-browsers-inspector/
Thanks
How do I block google adsense on a specific post which violate google ads policy?
for example: https://mysiteads.com/sex-in-the-city.
Thank you
Hi,
The header background color can be changed to your linking in the theme panel
– https://www.screencast.com/t/imbQN5KP
The craft demo uses header style 11, it has a logo image and a background
– https://www.screencast.com/t/w7hHOhNcmWwn
However a thing to note is that header style 9,10, and 11 do not have a limit for the logo image size. You can use any image you want
– https://forum.tagdiv.com/logo-favicon/
This demo would be an example of a full width big logo
– https://demo.tagdiv.com/newspaper_cars/
Regarding the footer section, there are many templates to choose from
– https://forum.tagdiv.com/footer-templates/
Some have predefined content, others are empty templates in which you can insert your desired widgets.
The demo used footer template 14, enter your own information in the theme panel and it will appear in the footer
– https://www.screencast.com/t/RPAcxC4qup
– https://www.screencast.com/t/ZstTQg601mr6
Or select a different page template of your choosing.
I believe you are referring to the excerpts displayed on modules (center aligned)
– https://www.screencast.com/t/RXiC4JzrN
Those could be justified with a code like this entered in Theme panel->Custom CSS
– https://www.screencast.com/t/wXUQ91O4RO
.td_module_18 .td-excerpt {
text-align: justify;
}
Rows can be split in columns in the row settings
– https://www.screencast.com/t/DNt18HtVh
You can use widget sidebars if you wish, there is an element for that
– https://www.screencast.com/t/YM3HYouq9x7D
Then you can display sidebars from your available ones.
Big grids and full big grids can only be placed on full rows, a bog grid cannot have a sidebar beside it. Use blocks and other elements for that. These are all the available grids and blocks
– https://demo.tagdiv.com/newspaper/big-grid-1/
– https://demo.tagdiv.com/newspaper/full-big-grid-1/
– https://demo.tagdiv.com/newspaper/block-1/
Thanks
Rows do not have options to set a height for them. You could set a custom class to the row and using it set a height of your choosing
– https://www.screencast.com/t/fyOkjT0yXnEc
– https://www.screencast.com/t/8ivWwGGwICXc
The title over image element for example, has a height option
– https://www.screencast.com/t/TqLqGKzAE
Thanks
I have tested the offset solution and it is working properly. In this example the latest published posts are also featured, they appear in both top grid and latest
– https://www.screencast.com/t/Uy96fw4eUYzV
Setting an offset of 3 posts as suggested, will offset the Latest articles section by 3 posts
– https://www.screencast.com/t/1dZGiBd3Wby5
– https://www.screencast.com/t/Ie0mSaPfIS
Now the latest articles will be offset by 3 posts, so this would be a solution in the matter. Please double check your modification to be valid and then clear all caching installed.
Hello,
Please read this topic: https://forum.tagdiv.com/topic/full-amp-support-in-newspaper-theme/
Thank you!
Hello Stevivor,
If you want to change the color for post subtitle you should use the code below and place it in Theme panel -> Custom CSS area.
.td-post-sub-title {
color:black;
border:0;
}
Also, if you want to change the paragraph to H2, you should edit the theme core file according to your post template used by you. Below I gave you an example of post template style 1. Look at this -> https://www.screencast.com/t/Re43Z9Ad0ndY
Thanks for your understanding!
The theme ad sections are not specific for Adsense ads. That ad you mention is a simple image with a link added in the ad section. For example here I use an image from media library with a link
– https://www.screencast.com/t/rUTZ8mA9j
So you can display an image of your choosing wrapped in a link. Also you can have different ads based on device
– https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Thanks
I want adds a CSS class in my WooCommerce.
1、Included ‘products spacing 20 px’.
2、And ‘products box 1px & color light grey’
I do not know how to add, please help me.
Thank you!
Works for me 🙂
But as noted, always make backups prior to any WP update; also useful to look at the changelog for WP to see what was actually changed/fixed.
For example the latest update simply fixes a bug in the update from couple days back where the ‘auto updater’ was broken.
Hi,
WP Super Cache has different Preload and Advanced menu compared to https://forum.tagdiv.com/cache-plugin-install-and-configure/ manual and screenshots.
For example in Preload is missing “preload all posts” option which we should choose by your instruction, and in Advanced is missing”Caching: Cache hits to this website for quick access. (Recommended)
Use PHP to serve cache files.
Please provide valid link with correct manual.
Thank you
Hi,
I got the following error while importing the default demo (WP_Debug is set to false already) –
“” tagDiv importer detected an error. The importer will try to recover and continue to install the demo after you click ok on this dialog.
Steps to troubleshoot:
– Check the permissions on your upload folder
– Please make sure that WP_DEBUG is set to false in wp-config.php
– Contact our support via email contact@tagdiv.com (please provide your product license key) “”
I press okay on the dialog and it eventually installs.
When I uninstall the demo again, I get this message –
“” Ajax error. Cannot connect to server, it may be due to a misconfiguration on the server.
textStatus: error
td_ajax_request_name: uninstall
errorThrown: No Reason Phrase
responseText: <!DOCTYPE html>
<!–[if lt IE 7]> <html class=”no-js ie6 oldie” lang=”en-US”> <![endif]–>
<!–[if IE 7]> <html class=”no-js ie7 oldie” lang=”en-US”> <![endif]–>
<!–[if IE 8]> <html class=”no-js ie8 oldie” lang=”en-US”> <![endif]–>
<!–[if gt IE 8]><!–> <html class=”no-js” lang=”en-US”> <!–<![endif]–>
<head>
<title>www.xyz.io | 522: Connection timed out</title>
<meta charset=”UTF-8″ />
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<meta http-equiv=”X-UA-Compatible” content=”IE=Edge,chrome=1″ />
<meta name=”robots” content=”noindex, nofollow” />
<meta name=”viewport” content=”width=device-width,initial-scale=1,maximum-scale=1″ />
<link rel=”stylesheet” id=”cf_styles-css” href=”/cdn-cgi/styles/cf.errors.css” type=”text/css” media=”screen,projection” />
<!–[if lt IE 9]><link rel=”stylesheet” id=’cf_styles-ie-css’ href=”/cdn-cgi/styles/cf.errors.ie.css” type=”text/css” media=”screen,projection” /><![endif]–>
<style type=”text/css”>body{margin:0;padding:0}</style>
<!–[if lte IE 9]><script type=”text/javascript” src=”/cdn-cgi/scripts/jquery.min.js”></script><![endif]–>
<!–[if gte IE 10]><!–><script type=”text/javascript” src=”/cdn-cgi/scripts/zepto.min.js”></script><!–<![endif]–>
<script type=”text/javascript” src=”/cdn-cgi/scripts/cf.common.js”></script>
</head>
<body>
<div id=”cf-wrapper”>
<div id=”cf-error-details” class=”cf-error-details-wrapper”>
<div class=”cf-wrapper cf-error-overview”>
<h1>
<span class=”cf-error-type” data-translate=”error”>Error</span>
<span class=”cf-error-code”>522</span>
<small class=”heading-ray-id”>Ray ID: 3e978196bc8464ff • 2018-02-07 15:51:40 UTC</small>
</h1>
<h2 class=”cf-subheadline” data-translate=”error_desc”>Connection timed out</h2>
</div><!– /.error-overview –>
<div class=”cf-section cf-highlight cf-status-display”>
<div class=”cf-wrapper”>
<div class=”cf-columns cols-3″>
<div id=”cf-browser-status” class=”cf-column cf-status-item cf-browser-status “>
<div class=”cf-icon-error-container”>
<i class=”cf-icon cf-icon-browser”></i>
<i class=”cf-icon-status cf-icon-ok”></i>
</div>
<span class=”cf-status-desc” data-translate=”browser_desc”>You</span>
<h3 class=”cf-status-name” data-translate=”browser_label”>Browser</h3>
<span class=”cf-status-label” data-translate=”browser_status_label”>Working</span>
</div>
<div id=”cf-cloudflare-status” class=”cf-column cf-status-item cf-cloudflare-status “>
<div class=”cf-icon-error-container”>
<i class=”cf-icon cf-icon-cloud”></i>
<i class=”cf-icon-status cf-icon-ok”></i>
</div>
<span class=”cf-status-desc” data-translate=”cloud_desc”>Frankfurt</span>
<h3 class=”cf-status-name” data-translate=”cloud_label”>Cloudflare</h3>
<span class=”cf-status-label” data-translate=”cloud_status_label”>Working</span>
</div>
<div id=”cf-host-status” class=”cf-column cf-status-item cf-host-status cf-error-source”>
<div class=”cf-icon-error-container”>
<i class=”cf-icon cf-icon-server”></i>
<i class=”cf-icon-status cf-icon-error”></i>
</div>
<span class=”cf-status-desc” data-translate=”server_desc”>www.xyz.io</span>
<h3 class=”cf-status-name” data-translate=”server_label”>Host</h3>
<span class=”cf-status-label” data-translate=”server_status_label”>Error</span>
</div>
</div>
</div>
</div><!– /.status-display –>
<div class=”cf-section cf-wrapper”>
<div class=”cf-columns two”>
<div class=”cf-column”>
<h2 data-translate=”what_happened”>What happened?</h2>
<p data-translate=”connection_timed_out”>The initial connection between Cloudflare’s network and the origin web server timed out. As a result, the web page can not be displayed.</p>
</div>
<div class=”cf-column”>
<h2 data-translate=”what_can_i_do”>What can I do?</h2>
<h5 data-translate=”if_website_visitor”>If you’re a visitor of this website:</h5>
<p data-translate=”try_again_in_a_few”>Please try again in a few minutes.</p>
<h5 data-translate=”if_website_owner”>If you’re the owner of this website:</h5>
<p><span data-translate=”522_owner_desc”>Contact your hosting provider letting them know your web server is not completing requests. An Error 522 means that the request was able to connect to your web server, but that the request didn’t finish. The most likely cause is that something on your server is hogging resources.</span> Additional troubleshooting information here.</p>
</div>
</div>
</div><!– /.section –>
<div class=”cf-error-footer cf-wrapper”>
<p>
<span class=”cf-footer-item”>Cloudflare Ray ID: 3e978196bc8464ff</span>
<span class=”cf-footer-separator”>•</span>
<span class=”cf-footer-item”><span data-translate=”your_ip”>Your IP</span>: 78.61.152.246</span>
<span class=”cf-footer-separator”>•</span>
<span class=”cf-footer-item”><span data-translate=”performance_security_by”>Performance & security by</span> Cloudflare</span>
</p>
</div><!– /.error-footer –>
</div><!– /#cf-error-details –>
</div><!– /#cf-wrapper –> “”
Please help identifying what the issue is and what is the best way to fix it?
Seems like changing header color in theme panel doesn’t work properly. On my website http://dev.mega-media.hr/, which I created all by myself(no demos installed), I can’t change header background color. When I change it in theme panel it only works on few header styles. On example if I choose header “style 9”, by default background is white(or transparent). If I change it to red in Theme colors tab it works. But if I do same process on some other styles it’s doesnt change. If I choose header “style 12”, by default background is blue and I can’t change it to any other color.
I found that problem was in shortcode, when I was adding “title” element in shortcode it appeared like [td_block_title] but it was supposed to look like [td_block_title custom_title=”TITLE GOES HERE]. But now I have other problem, every time when I do any change to my website, let’s say for example when I add new element and save it, poll just dissapear from page?
Hi,
I am trying to setup automatic update my Newsmag site according to this tutorial https://forum.tagdiv.com/newsmag-how-to-update-the-theme/
and receive this error in the log when pressing on the Update Available. I am using Newsmag version 3.4 by the way
Uncaught Error: Syntax error, unrecognized expression: .envato-card-newsmagFolder/Newsmag
at Function.fa.error (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at fa.tokenize (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at fa.select (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at Function.fa (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at Function.a.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:9)
at n.fn.init.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at n.fn.init.a.fn.find (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:9)
at a.fn.init.n.fn.init (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
at new a.fn.init (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:9)
at n (load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,utils,moxiejs,plupload,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse&ver=4.9.4:2)
Hello vasik,
Unfortunately, the theme does not have any such an option and also, the theme does not have any such a tested plugins in this case, sorry! For example, if you want to achieve comments from Facebook, you should integrate the Facebook Comments plugin and for registration also, you should use a plugin with this functionality. If you are not aware of the steps which are needed to take in this case, please consider hiring a freelancer/developer to help you because we cannot provide custom work at the moment, sorry!
Thanks for the message!
Hello,
I’d like to use the official Accelerated Mobile Pages Plugin with newspaper 8.5
I understand TagDiv’s mobile theme does similar things in terms of load times, but if i’m not mistaken, without AMP my news site will not appear in google’s carousel search view? It’s quite important for me to have that ability (i don’t care about Facebook instant articles).
Does anyone use the AMP plugin? do you use it INSTEAD of the mobile theme? or can they work together?
I’m just starting a build so i can’t really test yet but i’d like to know in advance of future hiccups.
I’d appreciate any help or to be pointed to another forum post regarding this (i looked but couldn’t find)
Thank you
Hi!
Example page here: https://stevivor.com/reviews/shadow-of-the-colossus-review/
Two requests:
1) How can I reduce the height of my header in desktop view? I’m talking about the blue area around my logo — my logo image is just as high as its text, and there’s a lot of unnecessary padding.
2) I’d like to remove the dotted lines around the subtitle (which I’ve moved underneath the featured image) and also make the text black. How can I do so?
Thanks as always for excellent support!
Newspaper Speed Booster has an incompatibility with AMP Theme (also Newspaper theme, sold by AMP for WP).
I get this message in the Newspaper Theme > System Status > Theme Config > Speed Booster.
v4.9 – Disabled – incompatible plugin detected: AMP-Theme-Development-1.6/ampforwp-custom-theme.php
Please advise.
Thanks Bogdan.
1 & 3 fixed!
Can you check the image for Question 2.
https://pasteboard.co/H635jzu.png
It’s the preview text I’m trying to make smaller not on the actual search results page.
Thanks
I have the following error when i’m tring to modify a page on my site:
vc-tabs.min.js?ver=5.4.5:1 Uncaught TypeError: Cannot read property ‘getRelatedTab’ of undefined
at HTMLDocument.changeHandler (http://…/wp-content/plugins/js_composer/assets/lib/vc_tabs/vc-tabs.min.js?ver=5.4.5:1:3497)
at HTMLDocument.dispatch (http://…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…uery-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:3:12444)
at HTMLDocument.r.handle (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…query-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:3:9173)
at Object.trigger (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…uery-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:3:11573)
at Object.a.event.trigger (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…query-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:9:8275)
at HTMLSpanElement.<anonymous> (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…uery-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:3:18991)
at Function.each (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…query-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:2:2881)
at a.fn.init.each (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…jquery-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:2:846)
at a.fn.init.trigger (…/wp-admin/load-scripts.php?c=1&load%5B%5D=jque…uery-ui-mouse,jquery-ui-draggable,utils,moxiejs,plupload&ver=4.9.4:3:18967)
at a.fn.init.$.fn.(anonymous function) [as hide] (…/wp-content/plugins/social-booster/admin/metabox/cmb2-conditionals-master/cmb2-conditionals.js?ver=1.0.4:11:9)
changeHandler @ vc-tabs.min.js?ver=5.4.5:1
dispatch @ load-scripts.php?c=1…lupload&ver=4.9.4:3
r.handle @ load-scripts.php?c=1…lupload&ver=4.9.4:3
trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:3
a.event.trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:9
(anonymous) @ load-scripts.php?c=1…lupload&ver=4.9.4:3
each @ load-scripts.php?c=1…lupload&ver=4.9.4:2
each @ load-scripts.php?c=1…lupload&ver=4.9.4:2
trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:3
$.fn.(anonymous function) @ cmb2-conditionals.js?ver=1.0.4:11
f @ load-scripts.php?c=1…embed&ver=4.9.4:116
(anonymous) @ load-scripts.php?c=1…embed&ver=4.9.4:116
dispatch @ load-scripts.php?c=1…lupload&ver=4.9.4:3
r.handle @ load-scripts.php?c=1…lupload&ver=4.9.4:3
trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:3
a.event.trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:9
(anonymous) @ load-scripts.php?c=1…lupload&ver=4.9.4:3
each @ load-scripts.php?c=1…lupload&ver=4.9.4:2
each @ load-scripts.php?c=1…lupload&ver=4.9.4:2
trigger @ load-scripts.php?c=1…lupload&ver=4.9.4:3
CMB2ConditionalsInit @ cmb2-conditionals.js?ver=1.0.4:184
(anonymous) @ cmb2-conditionals.js?ver=1.0.4:280
i @ load-scripts.php?c=1…lupload&ver=4.9.4:2
fireWith @ load-scripts.php?c=1…lupload&ver=4.9.4:2
ready @ load-scripts.php?c=1…lupload&ver=4.9.4:2
K @ load-scripts.php?c=1…lupload&ver=4.9.4:2
(anonymous) @ VM1993:2
T.e.string.f.function.c.(anonymous function) @ VM2016:51
(anonymous) @ VM1993:2
b @ VM1993:1
(anonymous) @ VM1993:2
T @ VM2016:51
l @ VM2016:49
So if i want modify the template or something else i can’t.
This error come out when i update wordpress from 4.9.3 to 4.9.4
I viewed the error from the console in the browser.
Could you help me?