- ApiPractical example – How to add a new Block and Module
- Apitd_api_block::delete
- Apitd_api_block::update_key
- Apitd_api_block::update
- Apitd_api_block::add
- ApiAPI – Blocks – Introduction
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
- Apitd_api_thumb::add
- ApiAPI – Thumbnail – Introduction
- Apitd_api_category_top_posts_style::update_key
- Apitd_api_category_top_posts_style::update
- Apitd_api_category_top_posts_style::add
- ApiAPI – Category top section style – Introduction
- Apitd_api_module::update_key
- Apitd_api_module::update
- Apitd_api_module::add
- ApiAPI – Modules – Introduction
- ApiUsing the Theme API in plugins
- ApiThe Theme API
Hi,
The latest articles section has only numbered pagination, you could replace it with a block of your choosing sorted by latest, blocks have infinite loading.
Also as of the latest update, you can now make columns sticky by an option
– https://www.screencast.com/t/YQfUQzKxYQHq
Theme panel -> Block settings -> Meta info on modules/blocks -> Disable author name
Hello
I just did the latest theme update, which did not come out very well… I lost the sidebar, all blocks have changed, gotten lots of code visible on the page etc. Is there something to do to easily get the original look back?
Thanks.
Hello! After the new update of theme and plugins, i have some errors with amp pages.
Here is a shared link: https://search.google.com/search-console/amp/drilldown?resource_id=https%3A%2F%2Fwww.sociedelic.com%2F&item_key=GgQIHBAD&hl=en-GB&sharing_key=L6c_p0r0JDxFPCN806BO-A
And here is the error of one of links: https://search.google.com/test/amp?skip_amp_follow=true&id=I1O_AsFpiN_RTSgeaJYQiw
Page cannot be reached
This could be because the page is unavailable or blocked by robots.txt
You can check on mobile.. Here is a recent post, the meta information aligns properly, http://wizimatic.com/china-releases-3-year-plan-for-air-pollution-control/
Here is a long time post; https://wizimatic.com/infantino-wants-video-refs-for-2018-world-cup/
the post meta (date) doesnt align. I use the same div class for it. Here is the code that i am using, right in single.php
<div class=”classing”><?php
$time = human_time_diff(get_the_time(‘U’),current_time(‘timestamp’));
$pos = strpos($time, ‘months’);
if ($pos>0) {
echo $td_mod_single->get_date(false);;
}
else{echo $time . ‘ ago’;}
?></div>
Yes the problem is definitely caused by the slider block – i am also in the newspaper latest version 8.8.2
Hi Catalin,
i have already purged everything. I have come to the conclusion that this happens because of the slider block. When i delete from the row the slider, it works just fine.
Also all the recommended settings are applied
Thanks
HI Bogdan,
I’m trying to embed a form from my marketing automation platform and it’s js. I need it to be displayed on the front page and on the sidebar, and I just can’t figure out how to add it. I’ve tried with the raw html block but that didn’t work. Any advice?
Thanks!
Hello,
There is no need to duplicate the flex block from the theme code. you can add as many instances to the flex block as needed on the same page. There is no limit on how many flex blocks you can add.
If you use a custom class for the blocks you need altered, you can use the class just on those blocks and you will not affect any others. Say you have 3 flex blocks on a page and you want just 1 or 2 altered, you simply place the class in the extra class field and the blocks will receive the css.
Example:
Let’s say we call the custom class ‘flex-custom’
You would add this code in your theme panel-> custom css:
.flex_custom .td-module-container{
border: 1px solid lightgrey;
box-shadow: 1px 0 20px #949292;
border-radius: .25rem;
}
Then simply add the extra class to the flex block you want to have the custom style:
https://www.screencast.com/t/BHgS1Qlh
Any other block that will not have this class will not get the style.
Thanks.
So below the header and above the page content. By using the page builder you can design any page with the content you want. If you want that section to be displayed on every page of the website (posts, categories etc) you could include it in the header template you are using maybe. Use the shortcode of the elements you want. Example with a block
– https://www.screencast.com/t/sDQyDAtC
– https://www.screencast.com/t/c5D8VynHx
– https://www.screencast.com/t/HJAUVEYy
– https://www.screencast.com/t/0UwGJGHE4
<?php echo do_shortcode('Shortcode here'); ?>
Other than this there would be no way I can think of to do what you are trying to.
Hello,
You can hide the author and date from posts from this option:
https://www.screencast.com/t/4ccIvGkq
and for pages and other templates: https://forum.tagdiv.com/meta-info-modules-blocks/
Thank you!
Hello,
The background color of each block comes from the row settings in the tagdiv composer. Here is an example: https://www.screencast.com/t/L7OEznxcr
Thank you!
Hi,
Please note that if you keep replying in your own topic, the topic will be moved to the back of the line. We answer from oldest to newest. Try to provide all the information the first time if possible.
From what I can see the website you mention does not have the Newspaper theme active at the moment.
The blocks have an option to set a custom link for their titles, I have tested it on my end and it works properly
– https://www.screencast.com/t/RdGJQ293580Z
– https://www.screencast.com/t/z5jSeFQ5
Thanks
Hi,
First, to customize the font properties of the tags you can use the theme panel, as a general setting
– https://www.screencast.com/t/8HXcSUCTo
Or in the tagDiv composer per block and per module even, example
– https://www.screencast.com/t/BIbCqHb0
For the styling some CSS could be used, maybe something like this
– http://prntscr.com/k1vxan
.td-post-category {
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
background-color: #561FD4;
}
Per actual category would be somewhat more difficult with CSS, this code will apply to all the category tags. It could be made more precise, similar topic here
– https://forum.tagdiv.com/topic/category-label-appearance-on-block-1/
Let me know if you need help.
Thanks
Hi,
In the blocks a post will be represented by a single category tag, it’s primary category. Each post has a primary category, more about this here
– https://forum.tagdiv.com/primary-category/
In the post pages you can hide any category, in the per category settings
– https://www.screencast.com/t/a3f6Scn6kg
Or using the Cloud library plugin and tagDiv composer, design a post template as you want starting with a blank template, or import a predefined template (this can also be modified)
– https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
In these templates the category tag element has a limit you can set
– https://www.screencast.com/t/N6hNUp0ra
This would be a solution to limit the number of categories as you want.
Thanks
Hi I’m also having this issue. I have removed td plugin, deactivated all plugins.
tried reinstalling.
Fatal error: Uncaught Error: Call to undefined method td_block_1::get_all_atts() in /home/deniseal/public_html/lovingthemouse.net/wp-content/themes/Newsmag 2/includes/shortcodes/td_block_1.php:135 Stack trace: #0 /home/deniseal/public_html/lovingthemouse.net/wp-content/themes/Newsmag 2/includes/shortcodes/td_block_1.php(111): td_block_1->inner(Array) #1 /home/deniseal/public_html/lovingthemouse.net/includes/wp_booster/td_global_blocks.php(28): td_block_1->render(Array, ”) #2 /home/deniseal/public_html/lovingthemouse.net/wp-includes/shortcodes.php(319): td_global_blocks::proxy_function(Array, ”, ‘td_block_1’) #3 [internal function]: do_shortcode_tag(Array) #4 /home/deniseal/public_html/lovingthemouse.net/wp-includes/shortcodes.php(197): preg_replace_callback(‘/\\[(\\[?)(td_blo…’, ‘do_shortcode_ta…’, ‘<p>[vc_row][vc_…’) #5 /home/deniseal/public_html/lovingthemouse.net/wp-includes/class-wp-hook.php(286): do_shortcode(‘<p>[vc_row][vc_…’) #6 /home/deniseal/public_html/lovingthemouse.net/wp-includes/plugin.php(203): W in /home/deniseal/public_html/lovingthemouse.net/wp-content/themes/Newsmag 2/includes/shortcodes/td_block_1.php on line 135
Can i use your code <?php echo human_time_diff( get_the_time(‘U’, $this->post->ID), current_time(‘timestamp’) ) . ‘ ago’; ?> for post pages (single.php) sir?
I put
<?php echo human_time_diff( get_the_time(‘U’),
current_time(‘timestamp’) ) . ‘ ago’; ?>
on my mobile front page but i need the code to put on the single.php that will show timeago for individual posts.
just wondering about the difference between the two codes which is $this->post->ID
Also, There is a dash (-) inbetween the authors name and category name on my homepage(using the newspaper mobile theme), i dont know how to hide it and make the meta info closer to each other.
Also, how do i include the time ago on the featured posts.
my url is https://wizimatic.com (pls access from mobile to see)
The styling using “myclass” worked perfectly.
hello,
On my web site: http://www.povesteata.eu i have instaled the plugin: tagDiv Speed Booster
So, i have read your ghid to page speed improve:
https://forum.tagdiv.com/how-to-make-the-site-faster/
I have some problem.
1: I don’t have a VPS server.
2: I try to eliminate the render-blocking JavaScript and CSS
I folow the instruction but i don’t understend what i must add on the td-speed-booster.php
For example: Please see my page speed test:
https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fwww.povesteata.eu%2F&tab=desktop
I have extract all the line:
Then i have try to add this code:
$this->move_style_to_footer_queue(‘yoast-seo-admin-global-script’); under
* move javascript to footer
But nothig it’s happened. i realy don’t understend what’s wrong? Where it’s my mistake?
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
wp-pointer | /wp-includes/js/wp-pointer.min.js
wordfenceAdminExtjs | https://www.povesteata.eu/wp-content/plugins/wordfence/js/wfglobal.1530033614.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
gdpr | https://www.povesteata.eu/wp-content/plugins/gdpr/assets/js/gdpr-admin.js
devicepx | https://s0.wp.com/wp-content/js/devicepx-jetpack.js
rw_wp_admin | https://secure.rating-widget.com/js/wordpress/admin.js?ck=Y2018M07D02
wordfenceAJAXjs | https://www.povesteata.eu/wp-content/plugins/wordfence/js/admin.ajaxWatcher.1530033614.js
wordfenceDashboardjs | https://www.povesteata.eu/wp-content/plugins/wordfence/js/wfdashboard.1530033614.js
wordfencePopoverjs | https://www.povesteata.eu/wp-content/plugins/wordfence/js/wfpopover.1530033614.js
yoast-seo-admin-global-script | https://www.povesteata.eu/wp-content/plugins/wordpress-seo/js/dist/wp-seo-admin-global-773.min.js
yoast-seo-yoast-modal | https://www.povesteata.eu/wp-content/plugins/wordpress-seo/js/dist/wp-seo-modal-773.min.js
js_files_for_wp_admin | https://www.povesteata.eu/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
wp-smushit-admin-js | https://www.povesteata.eu/wp-content/plugins/wp-smushit/assets/js/wp-smushit-admin.js
smush-backbone-extension | https://www.povesteata.eu/wp-content/plugins/wp-smushit/assets/js/media.js
jetpack-gallery-settings | https://www.povesteata.eu/wp-content/plugins/jetpack/_inc/build/gallery-settings.min.js
td-wp-admin-js | https://www.povesteata.eu/wp-content/themes/Newspaper/js/td_wp_admin.min.js
rw_toprated_settings | https://secure.rating-widget.com/js/wordpress/toprated-settings.js?ck=Y2018M07D02
akismet.js | https://www.povesteata.eu/wp-content/plugins/akismet/_inc/akismet.js
jptracks | https://www.povesteata.eu/wp-content/plugins/jetpack/_inc/lib/tracks/tracks-ajax.js
jetpack-jitm-new | https://www.povesteata.eu/wp-content/plugins/jetpack/_inc/build/jetpack-jitm.min.js
jquery |
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
wp-pointer | /wp-includes/css/wp-pointer.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
gdpr | https://www.povesteata.eu/wp-content/plugins/gdpr/assets/css/gdpr-admin.css
fs_common | https://www.povesteata.eu/wp-content/plugins/rating-widget/freemius/assets/css/admin/common.css
rw_wp_admin | https://secure.rating-widget.com/css/wordpress/admin.css?ck=Y2018M07D02
wordfenceAJAXcss | https://www.povesteata.eu/wp-content/plugins/wordfence/css/wordfenceBox.1530033614.css
wf-adminbar | https://www.povesteata.eu/wp-content/plugins/wordfence/css/wf-adminbar.1530033614.css
yoast-seo-adminbar | https://www.povesteata.eu/wp-content/plugins/wordpress-seo/css/dist/adminbar-773.min.css
yoast-seo-admin-global | https://www.povesteata.eu/wp-content/plugins/wordpress-seo/css/dist/admin-global-773.min.css
yoast-seo-dismissible | https://www.povesteata.eu/wp-content/plugins/wordpress-seo/css/dist/wpseo-dismissible-773.min.css
td-plugin-multi-purpose | https://www.povesteata.eu/wp-content/plugins/td-composer/td-multi-purpose/style-admin.css
tdc_wp_admin_main | https://www.povesteata.eu/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://www.povesteata.eu/wp-content/themes/Newspaper/includes/wp_booster/wp-admin/css/wp-admin.css
font-newspaper | https://www.povesteata.eu/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
wp-smushit-admin-css | https://www.povesteata.eu/wp-content/plugins/wp-smushit/assets/css/wp-smushit-admin.css
rw_toprated_settings | https://secure.rating-widget.com/css/wordpress/toprated-settings.css?ck=Y2018M07D02
rw_recommendations | https://secure.rating-widget.com/css/widget/recommendations.css?ck=Y2018M07D02
akismet.css | https://www.povesteata.eu/wp-content/plugins/akismet/_inc/akismet.css
jetpack-icons | https://www.povesteata.eu/wp-content/plugins/jetpack/css/jetpack-icons.min.css
jetpack-jitm-css | https://www.povesteata.eu/wp-content/plugins/jetpack/css/jetpack-admin-jitm.min.css
Sorry, I am posting this again as I have not had a response:
Hi,
On the homepage, I am adding the URL to the title of each block. I get success message. However it does not actually save.
No problems saving Titles using block in widget areas
Any Help appreciated?
Hi
I know there is three possible review options, I was just wondering if it was possible to change the 5 stars to 6, to make the points similar to a dice. But I guess not.
Anyway. I’ve tried to add these codes to the Custom CSS in the Theme panel, but the dropcaps and the quotes don’t change color. Anything wrong with these codes?
.td-post-content .dropcap {
background-color: #884cc4;
}
.td-post-content blockquote p {
color: #884cc4;
}
Hi Simon,
Only blocks and a few other elements can be placed as widgets, not all of them.
Is there a List of these Elements or its only the Elements they are listed under “Widgets”?
Regards,
I see you stretched it, it could be centered now like this
– https://www.screencast.com/t/GMMxoFgZLhz
– https://www.screencast.com/t/iwV298SMG
@media (min-width: 768px) {
.td_stretch_content .td-container {
text-align: center;
}}
@media (min-width: 768px) {
.td-affix #td-header-menu {
display: inline-block;
}}
But the same will happen on smaller devices. That code can be entered in the normal custom CSS, not advanced if it is of any use to you.
Hello Oğulcan Özügenç,
Try the code below and place it in Theme panel -> Custom CSS area.
@media (max-width: 767px){
.td-top-menu-full {
display: block !important;
}
}
The result is here -> https://www.screencast.com/t/TApcDA7RBp
Thanks for the message!
Hello xplorai,
The Trending Now is just a simple block which displays only the title of the blocks -> https://www.screencast.com/t/WPKv1LzgyA
Thanks for your understanding!
Hi,
If you use the same sorting for blocks and grids, there could be duplicates or even the same post displayed exactly. There are settings like filtering and sorting to try and avoid it
– https://forum.tagdiv.com/block-settings-guide/
In case the same sorting is necessary, there is an offset option you can use
– https://forum.tagdiv.com/offset-feature/
Or, as I see you don’t use pagination for the elements in the homepage, activate the unique articles setting
– https://forum.tagdiv.com/unique-articles/
Thanks