- 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,
From the first image I see that you have not created the mega-menu properly, it is not a bug, it is a common mistake. Some helpful topics here
– https://forum.tagdiv.com/mega-menu/
– https://forum.tagdiv.com/topic/hopefully-last-bit-of-help-slight-issue-with-the-mega-menu/
Basically the menu item you choose to make a mega-menu must not have sub-menus.
For that second issue, I could inspect it. From an image I can’t say what is wrong there exactly. Post a link to the website where I can see it. If you are designing for example a page in the composer, keep checking how it will look on mobile
– http://prntscr.com/mnj5f6
Some settings can be set per device, like the CSS – http://prntscr.com/mnj5w2
Thanks
Hi,
I see it like this currently – http://prntscr.com/mnihj5
From what I can see there is caching active for the website – http://prntscr.com/mnij2t If you don’t have a caching plugin maybe it is server cache, check with the hosting provider.
Only caching can prevent or delay the latest content from being displayed, because of a setting from it most likely. The theme itself does not have any caching, so in normal conditions as soon as for example a post is published it will appear immediately in an element sorted by latest and filtered to show content from all categories.
Thanks
Newspaper AMP plugin isnt showing ads
I have added into posts and setup via theme panel > AMP > Ads
Still these spaces are blank, not sure why.
That’s the listing I got from the plugin SpeedBooster.
PLAYERJS | https://nzlifenz.com/wp-content/plugins/beepress/lib/player.js
BPFRONTJS | https://nzlifenz.com/wp-content/plugins/beepress/lib/beepress-front.js
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
updates | /wp-admin/js/updates.min.js
plugin-install | /wp-admin/js/plugin-install.min.js
thickbox | /wp-includes/js/thickbox/thickbox.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
js_files_for_wp_admin | https://nzlifenz.com/wp-content/plugins/td-composer/assets/js/js_files_for_wp_admin.min.js
media-editor | /wp-includes/js/media-editor.min.js
media-audiovideo | /wp-includes/js/media-audiovideo.min.js
mce-view | /wp-includes/js/mce-view.min.js
image-edit | /wp-admin/js/image-edit.min.js
td-wp-admin-js | https://nzlifenz.com/wp-content/themes/Newspaper/js/td_wp_admin.min.js
suggest | /wp-includes/js/jquery/suggest.min.js
registered styles
BEEPRESSCSS | https://nzlifenz.com/wp-content/plugins/beepress/lib/beepress.css
open-sans |
admin-bar | /wp-includes/css/admin-bar.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
colors | 1
ie | /wp-admin/css/ie.min.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
td-plugin-multi-purpose | https://nzlifenz.com/wp-content/plugins/td-composer/td-multi-purpose/style-admin.css
tdc_wp_admin_main | https://nzlifenz.com/wp-content/plugins/td-composer/assets/css/tdc_wp_admin_main.css
google-font-ubuntu | https://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | https://nzlifenz.com/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
font-newspaper | https://nzlifenz.com/wp-content/themes/Newspaper/font-newspaper.css
wp-color-picker | /wp-admin/css/color-picker.min.css
media-views | /wp-includes/css/media-views.min.css
imgareaselect | /wp-includes/js/imgareaselect/imgareaselect.css
bbp-admin-css | https://nzlifenz.com/wp-content/plugins/bbpress/includes/admin/css/admin.css
Right here I copied the code from td_module_single.php (includes/modules/td_module_single.php) *I’m not a programmer to understand all of that*
<?php
/**
* Class td_module_single
*/
class td_module_single extends td_module_single_base {
function get_social_sharing_top() {
if (!$this->is_single) {
return;
}
if (td_util::get_option(‘tds_top_social_show’) == ‘hide’ and td_util::get_option(‘tds_top_like_show’) != ‘show’) {
return;
}
$buffy = ”;
// @todo single-post-thumbnail appears to not be in used! please check
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $this->post->ID ), ‘single-post-thumbnail’ );
$buffy .= ‘<div class=”td-post-sharing-top”>’;
if( td_util::get_option(‘tds_top_like_show’) == ‘show’ && td_util::is_amp() === false ) {
$buffy .= ‘<div class=”td-post-sharing-classic”>’;
$buffy .= ‘<iframe frameBorder=”0″ src=”‘ . td_global::$http_or_https . ‘://www.facebook.com/plugins/like.php?href=’ . $this->href . ‘&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21″ style=”border:none; overflow:hidden; width:105px; height:21px; background-color:transparent;”></iframe>’;
$buffy .= ‘</div>’;
}
if (td_util::get_option(‘tds_top_social_show’) != ‘hide’) {
$share_text_show = false;
if (td_util::get_option(‘tds_top_like_share_text_show’) == ‘show’) {
$share_text_show = true;
}
if ( td_util::is_amp() ) {
$enabled_services = td_api_social_sharing_styles::_helper_get_enabled_socials();
$amp_services = array_slice( $enabled_services, 0, 5);
$buffy .= td_social_sharing::render_generic(array(
‘services’ => $amp_services,
‘style’ => ‘style1’,
‘share_text_show’ => false,
‘el_class’ => ”
), ‘td_social_sharing_article_top’);
} else {
$buffy .= td_social_sharing::render_generic(array(
‘services’ => td_api_social_sharing_styles::_helper_get_enabled_socials(),
‘style’ => td_options::get(‘tds_social_sharing_top_style’, ‘style1’),
‘share_text_show’ => $share_text_show,
‘el_class’ => ”
), ‘td_social_sharing_article_top’);
}
}
$buffy .= ‘</div>’;
return $buffy;
}
function get_social_sharing_bottom() {
if (!$this->is_single) {
return;
}
if (td_util::get_option(‘tds_bottom_social_show’) == ‘hide’ and td_util::get_option(‘tds_bottom_like_show’) == ‘hide’) {
return;
}
$buffy = ”;
// @todo single-post-thumbnail appears to not be in used! please check
$image = wp_get_attachment_image_src( get_post_thumbnail_id( $this->post->ID ), ‘single-post-thumbnail’ );
$buffy .= ‘<div class=”td-post-sharing-bottom”>’;
if( td_util::get_option(‘tds_bottom_like_show’) != ‘hide’ && td_util::is_amp() === false ) {
$buffy .= ‘<div class=”td-post-sharing-classic”>’;
$buffy .= ‘<iframe frameBorder=”0″ src=”‘ . td_global::$http_or_https . ‘://www.facebook.com/plugins/like.php?href=’ . $this->href . ‘&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21″ style=”border:none; overflow:hidden; width:105px; height:21px; background-color:transparent;”></iframe>’;
$buffy .= ‘</div>’;
}
if (td_util::get_option(‘tds_bottom_social_show’) != ‘hide’) {
$share_text_show = false;
if( td_util::get_option(‘tds_bottom_like_share_text_show’) == ‘show’ ) {
$share_text_show = true;
}
if ( td_util::is_amp() ) {
$enabled_services = td_api_social_sharing_styles::_helper_get_enabled_socials();
$amp_services = array_slice( $enabled_services, 0, 5);
$buffy .= td_social_sharing::render_generic(array(
‘services’ => $amp_services,
‘style’ => ‘style1’,
‘share_text_show’ => false,
‘el_class’ => ”
), ‘td_social_sharing_article_bottom’);
} else {
$buffy .= td_social_sharing::render_generic(array(
‘services’ => td_api_social_sharing_styles::_helper_get_enabled_socials(),
‘style’ => td_options::get(‘tds_social_sharing_bottom_style’, ‘style1’),
‘share_text_show’ => $share_text_show,
‘el_class’ => ”
), ‘td_social_sharing_article_bottom’);
}
}
$buffy .= ‘</div>’;
return $buffy;
}
}
Guys need your help
Dear Catalin,
Thanks for your reply. At first, I am using the latest version of theme 9.5. And I have the following:
Active plugins 6 items:
1) Google Captcha (reCAPTCHA) by BestWebSoft (Version 1.41) ; By BestWebSoft
2) Regenerate Thumbnails (Version 3.1.0) ; By Alex Mills (Viper007Bond)
3) tagDiv Cloud Library (Version 1.0 BETA) ; By tagDiv
4) tagDiv Composer (Version 2.3) ; By tagDiv
5) tagDiv Social Counter (Version 4.5) ; By tagDiv
6) WP Super Cache (Version 1.6.4) ; By Automattic
In Must-Use tab there is one plugin
1) Endurance Page Cache (Version 1.3) ; By Mike Hansen
In Drop-ins tab there is one plugin
1) advanced-cache.php ; details are not available
I could register as a test contributor (ID: shariful_hamid) from header’s top bar but when I tried from there it shows, “User or password incorrect!”. Whereas, I can login using same id & password from amrai71.com/wp-admin.
Please help me in this regard.
My URL:
http://amrai71.com/
Thanks for all your support. I was able to fix most of the problems.
Except the below one.
I am getting lot of error because of fonts newspaper is using.
How to resolve the issue.
There are 6 static components without a far-future expiration date.
https://fonts.googleapis.com/css?family=Open+Sans%3A300italic%2C400%2C400italic%2C600%2C600italic%2C700%7CSource+Serif+Pro%3A400%7CWork+Sans%3A400%7CRoboto%3A300%2C400%2C400italic%2C500%2C500italic%2C700%2C900&ver=9.5
https://connect.facebook.net/en_US/sdk.js
https://apis.google.com/js/platform.js
https://pixel.wp.com/g.gif?v=ext&j=1%3A7.0.1&blog=157605974&post=901&tz=0&srv=vizartpandey.com&host=vizartpandey.com&ref=&fcp=1147&rand=0.1973235253617196
https://www.linkedin.com/pages-extensions/FollowCompany.js?version=0.1.143
https://apis.google.com/js/rpc:shindig_random.js?onload=init
Hey there,
Is it possible to integrate AMP TagDiv plugin with Mediavine ADS? I tried Tagdiv but the ads weren’t showing up automatically. I’m not sure if there was an extra code we needed to put in?
Hi there. I need disable theme while i import my data from my old site by plugin WP All Import. Reason why i want disable Newspaper theme because import extremely slow while your theme active. But when i export some data & then activate Newspaper almost all my settings gone. Even Export theme settings doesn’t help. Is any simple solution? Maybe i missing something? Thanks for support.
In the sample lakersnation.com it has only one feature news
How can I achieve the same?
I also as you revealed incorrect quotes. then I read that this problem occurs more than once and depends on the wptextuarize function. And this replacement happens in the tagdiv mobile theme.
https://www.google.com/search?q=wptexturize+shortcode&rlz=1C1CHZL_enUA710UA710&oq=wptextuarize&aqs=chrome.4.69i57j0l5.4722j0j7&sourceid=chrome&ie=UTF-8
https://codex.wordpress.org/Plugin_API/Filter_Reference/no_texturize_shortcodes
Hello. I enabled the plugin tagDiv AMP. But i have an issue at Google search Console. I get a warning for some pages ””amp-ad extension .js script” present more than once in the document.” How can i fix that?
Site: https://proklitiko.gr/
Screenshots:
Hi,
You don’t have to install the black theme demo if you don’t want to. Provide some examples about what exactly you want to do and where. A link to that location with explanation will be helpful. I will try to give you a solution.
Thanks
Hi,
1-2. So you want to set a color or an image as a background, then your website will automatically change to the boxed version.
-> https://forum.tagdiv.com/background-introduction/
3. You can set icons/image that you have in media in your menu and style it , for example
-> https://www.screencast.com/t/2SJTKAiBI
-> https://www.screencast.com/t/oYI89l6jYYuM
-> https://www.screencast.com/t/8bgpwmK9qPQ
-> https://www.screencast.com/t/nvYKDeyB
-> https://www.screencast.com/t/WIKAnxWB3jE9
4. Please check our documentation for Thumbnails – Fix strange looking images on blocks -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
Hope this will help you!
Thanks!
Hi,
Columns are the result of splitting the row. If you have no content to enter in the column leave it as is. For example if I split a row like this – http://prntscr.com/mn2nlg
The column on the right can’t be removed/deleted.
Hi,
You can use the licence only for one final/online product, for example if you want to change the domain you’ll need to remove the key from the first domain and after that you can use the licence for the theme on the new domain; for more details please check our documentation -> https://forum.tagdiv.com/newspaper-6-how-to-activate-the-theme/
-> https://themeforest.net/licenses/standard
-> https://themeforest.net/licenses/terms/regular
In order to have access too all demos you’ll need to have tagDiv Composer and tagDiv Cloud Library activate
Thank you!
Hi,
You can use the licence only for one final/online product, for example if you want to change the domain you’ll need to remove the key from the first domain and after that you can use the licence for the theme on the new domain; for more details please check our documentation -> https://forum.tagdiv.com/newspaper-6-how-to-activate-the-theme/
-> https://themeforest.net/licenses/standard
-> https://themeforest.net/licenses/terms/regular
In order to have access too all demos you’ll need to have tagDiv Composer and tagDiv Cloud Library activate
Thank you!
Hi,
I really can’t say what modifications in the theme code would be needed in this case. It works just as in WordPress, the images that are uploaded will generate various thumbnails.
Maybe periodically use a plugin that can remove unused thumbnails, for example the ones mentioned in this topic
– https://www.webnots.com/how-to-cleanup-thumbnails-in-wordpress/
Thanks
Hi,
You can use tagDiv Cloud Library and add the elements that you need ( extra button or row html or column text for shortcode ).
Also if you want to use the default post templates, then you’ll need to make this changes in theme files, will be recommended to be made in child theme, you’ll need to edit the file templates for those template that you are using for example for post template 1 you’ll need to edit the loop-single-1.php -> wp-content/themes/Newspaper/loop-single-1.php https://www.screencast.com/t/APiJGhIgrZ or you can edit the share buttons file -> wp-content/themes/Newspaper/includes/modules/td_module_single.php -> https://www.screencast.com/t/QpEOKQIsAK
Hope this will help you!
Thanks!
Hi!
I use custom shortcode in the posts for direct (dofollow) links:
[dlink href=”url”]anchor[/dlink]
And its works great in the main theme Newspaper and on the AMP pages.
But the tagDiv Mobile Theme converts characters (“) into quotes (”) and for this reason the shortcode does not work.
It is simply displayed on the page as text. Can this be fixed somehow?
Thanks in advance for your reply.
Hi,
Apparently, I find this code very useful:
<?php echo ( get_the_time(‘U’, $this->post->ID) > strtotime( “5 days ago” ))? human_time_diff( get_the_time(‘U’, $this->post->ID), current_time(‘timestamp’) ). ‘ ago’ : $this->get_date(); ?>
Managed to get this to work on flex_1 and all.
However, I would like to implement the same “Time Ago” date display on loop_2 and cat_grid respectively on the category pages. How can I do so?
Hi, I recently updated the theme, and since then, on my main page (http://arribaelcampo.com.mx) all the main featured images for each article dissapeared. The image is still contained in each individual post, but not on the main front page, which is I believe very important. Can some help me solve this problem?
It should be very simple but i can´t understand why.
I tried with small size, medium or personalize but i think its locked from some theme place
Example, Fisrt green image. It should be small, but it expand automatically:
https://thewildroutes.com/the-wild-videos/
Someone can help me ? Thanks
Hi,
When do you plan to integrate AMP in the translation settings? I don’t feel comfortable modifying the code as it gets lost when overwritten with updated theme.
Thanks
Thanks 🙂
One more thing, it is a bit funny that tagdiv-AMP (td-amp.php) isn’t compatible with speed booster 🙂