- 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,
I feel sorry that you are facing this issue, sorry! Please note most of the theme files were moved into the tagDiv composer plugin as per the requirements of Envato: https://help.author.envato.com/hc/en-us/articles/360000472383-WordPress-Theme-Requirements.
We wrote an article on the subject here: https://tagdiv.com/updating-the-core-of-tagdiv-themes/ Using the latest version of the theme, you’ll need to activate the tagDiv Composer to keep the Newsmag theme functionality you’ve previously used.
Otherwise, you will have basic WordPress functionality, complying with Envato WordPress Requirements.
In that case, I will recommend downgrading the theme to Newsmag 4.7, the version before these modifications were made, which allows you to disable our page builder and keep to active only the WPBAckery if all of your pages was created with this page builder. After this, you can make a subdomain for testing where you need try to create all of these blocks using our composer and recreate all of your affected pages.
Thank you for your understanding!
Hi,
I’ve checked your website and your menu is look normal -> https://www.screencast.com/t/jpCNu1wA in desktop version and on mobile you’ll need to add in Theme panel>Custom code> Custom css this custom css
https://www.screencast.com/t/8bYNrDFy
.td-mobile-content .td-icon-menu-right {
display: inline-block;
}
Also if the shortcode for translating still appear in menu after you deactivate those plugins, you’ll need to remove theme manually.
If there is still a problem, just let me know!
Thank you!
Wow. This is a total mess. I paid for the updated theme. I updated it and now my entire site looks terrible. The homepage is lumped into a classic post. The composure is not recognizing the old code at all. This is disappointing to say the least. When I try to edit my homepage, I get a classic post cluster-f**k that looks like this:
[vc_row][vc_column][td_block_trending_now limit=”8″][/vc_column][/vc_row][vc_row css=".td-top-border{border-top-width: 1px !important;}"][vc_column width="2/3"][td_block_slide autoplay=”4″ category_id=”11″ custom_title=””][td_block_2 custom_title="Featured Cases" header_color="#dd9933" category_id="2" sort="alphabetical_order" limit="15"][td_block_2 custom_title="Endorsed Cases" header_color="#dd9933" border_top="no_border_top" category_id="3" sort="alphabetical_order" limit="15"][td_block_2 custom_title="Successful Cases" header_color="#dd9933" category_id="53" sort="alphabetical_order" limit="15"][td_block_11 custom_title=”Judges For Justice Featured Cases” header_color=”#dd9933″ category_id=”67″][td_block_11 custom_title=”Justice For Illinois Wrongfully Convicted Cases” header_color=”#dd9933″ category_id=”75″][/vc_column][vc_column width="1/3"][vc_single_image image="1796" img_size="" alignment="center" style="vc_box_rounded" onclick="custom_link" link="https://www.facebook.com/Injustice-Anywhere-270758032980401"][vc_separator][vc_widget_sidebar sidebar_id="td-default"][/vc_column][vc_column][td_block_video_youtube playlist_title=”Recommended Videos” playlist_yt=”D0CqOtEITZg, d_nUtdU0wic, bh_X5vKF_LM, HAsEEXk84pA”][vc_empty_space height="2px"][td_block_video_youtube playlist_title=”Recommended Music” playlist_yt=”LZNCSGxM5Gw, pnfhCg6VAac, 1KylNm5eTrM”][/vc_column][/vc_row]
When updating a Page by placing a Text Block, I can’t edit the default or add any text to it. The space is blank.
Hello, team tagDiv.
I am customizing author, archive, search, category and tag templates. I chose an archive template from cloud library, the posts are displayed using post loop. But I want to change the design of how these posts look for which I decided to use flex box 1. Now the problem, flex box or any shortcode other than post loop isn’t working the way it’s supposed to be. Flex box show all the post there are on the website, there is no filter. Only post loop filters the post.
So please help me. I don’t want to ruin my website’s design by bringing in any consistency in the way it looks.
This is happening with my website.
1) I went into the theme panel. From the section “LAYOUT SETTINGS”, I clicked “TEMPLATE SETTINGS”.
2) I clicked on the tag template from the on of the sections under “WordPress Templates”.
3) I clicked on the link “cloud library” and imported a template. Everything is fine. Only the post under the selected tags were being displayed which was great.
4) I tried to edit this template. The posts in this template were being displayed with the help of post loop.
5) I tried to replace the post loop with flex box because it gives more options for customization.
6) I selected the flex box and what I see is that all the posts started showing. The posts were not filtered by tag.
I have only one post for the tag name “Tour” but when I click on this tag, instead of showing that one post only, it shows all the posts. And this only happens when I don’t use post loop
Hi,
If you need to set that code after <div class=”td-block-row td-post-next-prev”> then you can set the code in wp-content/plugins/td-composer/legacy/common/wp_booster/td_module_single_base.php -> https://www.screencast.com/t/HGW6cQ85 if you want to set it before the <h4 class=”td-related-title td-block-title”> you can set the code in wp-content/plugins/td-composer/legacy/Newspaper/includes/shortcodes/td_block_related_posts.php -> https://www.screencast.com/t/TYJGtvVQxOQ
Thank you!
Hello !
As I’ve mentioned. All of the homepage can be edited using the tagDiv Composer. Activate the Composer and simply click on what element you want to edit. As you can see in the picture you have posted there are 2 blocks, so if you want to keep that look you will have to set the same filters for the same blocks. I’ve made a quick video wich I hope it will help you : https://www.screencast.com/t/uHSm5bVCV
Thank you !
Hi,
I modified that code, so now the top menu appears on mobile – http://prntscr.com/o9j62r
If you want to use the sticky code from above as well, the result will be like this, on sticky mode – http://prntscr.com/o9j6h8
Here is the code
@media (max-width: 767px){
.td-header-top-menu,
.td-header-top-menu-full,
.td-header-sp-top-menu {
display: block!important;
text-align: center;
}
.td-wpml .menu-top-container .top-header-menu > li {
display:inline-block;
}
.td-wpml .menu-top-container .top-header-menu > li a {
margin-right: 16px;
}
.body-td-affix .td-header-top-menu-full {
position:fixed;
top:54px;
}}
If needed I could modify this code. Let me know.
I should note that with the cloud header templates you can design the header on both desktop and mobile, both default mode and sticky mode. These are templates built by us that can be imported and modified if needed
– https://cloud.tagdiv.com/#/load/Headers
You can also build your own using a blank header template – http://prntscr.com/o8vge6
Here are some articles – https://tagdiv.com/newspaper-theme-customize-the-header-manager/
– https://tagdiv.com/header-main-menu-newspaper-theme/
And a guide about the cloud plugin – https://forum.tagdiv.com/tagdiv-cloud-library-plugin/
Thanks
Can you please tell me how to insert this code “<?php echo st_related_posts(); ?>” the theme template so that it calls the necessary function from the plugin in the right place on the page?
I need this code to work between blocks <div class=”td-block-row td-post-next-prev”> and <h4 class=”td-related-title td-block-title”> in single page.
Thank you very much!
Hello !
If you open the tagDiv Composer and simply click on the block you want it should open some features you can edit. https://www.screencast.com/t/TG9ralso
I hope this was helpfull !
Thank you !
Hello !
In order to filter the category template you will have to edit the blocks using the tagDiv Composer as you can see here: https://www.screencast.com/t/EClwRePw Also for the flex block on the right you can do the same.
I hope this was helpfull !
Thank you !
Hi,
I have checked your website and I saw that your About Us page contains a lot of empty spaces. I have hidden them and the result is here -> https://www.screencast.com/t/UMAZZIi4
.td_block_empty_space{
display:none;
}
I do not know how exactly your page should be. In that case, you will have to edit the page with the page builder and create it how you want. If is not what you mean, please provide more details about your problem and what exactly you want to achieve so I will be able to provide a more accurate response.
Thank you!
Hi,
Please try the steps from this similar topic -> https://forum.tagdiv.com/topic/wpml-footer-and-block-translations/
Hope this will help you!
Thank you!
Hello !
For the social counter located in the sidebar you will have to go into the tagDiv Composer and simply click on the block and edit it as you can see here: https://www.screencast.com/t/jS0aBeVgs
I hope this was helpfull !
Thank you !
I have an error with the block big grid flex 1, as shown in the image one of the boxes is blank like blocked and the title of the post comes out on top of that white box, the weird thing is that if I choose another category the box is fixed but I need to filter a category in specific but that error comes out, it is happened with another category too, you know why? I do not know what to do, I need it adjust but I do not know what to move.https://1drv.ms/u/s!AnkokusskyGrgYZm1E7IP5s9rraw_w?e=PhiVs5
How to change category filter on block with cloud category template?
Hello Tagdiv.
We bought your theme “Newspaper”, but we are experiencing some issues.
1. Post template issue
We are using the demo “City news” (import with no changes) on the single post pages, we want to check the different options for “post template”
We expect that when we change the “post template” setting
http://take.ms/PdtHE
We expect to see this:
https://demo.tagdiv.com/newspaper/louge-music-reasons-why-in-form-leicester-city-will-finish/
Instead we see this:
http://take.ms/LbpIo (default something post temlate)
We have tried:
-Other server
-Different php versions (5.6 -> 7.2)
-New install of wp and theme
-New import of demo content for “city news”
-New import of demo content for the default white theme
-We even tried newsmag your sibling theme.
We have this issue for everything we tried.
Question: Do you know what is up here?
2. Gallery issue
We are trying to use: https://tagdiv.com/tagdiv-slide-gallery/
But it seems it does not work properly. Instead of the “Slide gallery” then we get a “grid gallery”. The Gutenberg editor block, does not give us similar options as from link: https://tagdiv.com/tagdiv-slide-gallery/ (http://take.ms/zRRjh) what we see is a grid: https://drive.google.com/file/d/1LKrZiyj_bHCbrv5vxxHO1jGm1Cqnuc-h/view
There is no option to get the Slider instead of the grid, and we don’t find any other Gutenberg blocks where it was possible.
Question: Can you please help us to get the slider?
3. Problem with custom post type
Via the tutorial and documentation we used the plugin that was in the download package from the Newspaper to create a custom post type with custom taxonomies.
With that we expect to see:
A new custom posttype with two taxonomies, with same options at “post” have for the newspaper theme: http://take.ms/effsl (screenshot of “post” CPT) and the Gutenberg editor.
Instead we see:
Old editor: https://drive.google.com/file/d/1SghrUywCHrOX8PnCEVapiyynTLGSQG9V/view
And these options only: https://drive.google.com/file/d/1kiaqlOIDNB2KT2TudDx6JwOk0dkA8lSR/view (Post setting block is completely missing)
Question: Kindly help to tell what we are doing wrong, and how can we get the options
Info:
We currently use PHP 7.2
We updated to the latest version of the theme 9.7.3
—
Thanks for helping.
Best regards. Lars
i would like to use” Big Grid Full 1 ” for displaying 4 feature request posts in full width Video Posts with auto navigation to “next” in 2 seconds interval. I am unable to see how to configure this. Can you please advise ?
Hi,
First please make sure that you have the tagDiv Composer activate in Newspaper plugins -> https://www.screencast.com/t/PJlizsRFbG if this is activate then you can edit the homepage in two ways : one directly from website by clicking “Edit with TD Composer” -> https://www.screencast.com/t/BeXlrA0x or from back-end by hovering the page title -> https://www.screencast.com/t/eA6kUUQY or you can click on edit page and click the TAGDIV COMPOSER button -> https://www.screencast.com/t/NCKRDcLXWKwD after that you need to click on the block/module/element that you want to edit and check the tagDiv Composer tab -> https://www.screencast.com/t/TRxoSQcohM
Thank you!
Hi,
The blocks, grids and other elements in the page look empty, as if there is no content. Do you maybe use a plugin for multiple languages? If so what plugin are you using?
From what I see the main language is French and there is content in this language
– http://prntscr.com/o8yzou
But the English version of the page doesn’t have any content it seems
– http://prntscr.com/o8z1a0
So it will be empty. Please check if there are translated posts or content created in English as well. Despite maybe looking fine in the composer, the end page looks like there are no posts to display.
Thanks
Hi,
You’ll need to edit the homepage using tagDiv Compose , click on the block that you want to sort/filter -> https://www.screencast.com/t/XBOGLM3nJQLf -> https://www.screencast.com/t/2r0OXhJ9tIV
Block settings -> https://forum.tagdiv.com/block-settings-guide/
Thank you!
Hello !
Usually this issue is related to a firewall or security module which blocks admin-ajax.php request. Please verify the console for error while saving the settings on the Theme Panel, usually it displays a 403 or 404 error.
I suggest to check your System Status and increase all the php.ini directives at least to the recommended values – https://forum.tagdiv.com/system-status-parameters-guide/
If you don’t use a security plugin, please ask your host about this, maybe you have a security module which blocks this.
If you use a plugin like Wordfence please set it in learning mode.
Let us know and if the issue persist please contact us via email at contact@tagdiv.com and provide wp-admin access so we can take a closer look. Also paste a link to this topic so we can identify you.
Thank you !
Hi,
The size of the adsense ads aren’t supposed to be similar to the theme blocks that display posts. Google provides specific sizes by default, these would be the most successful sizes according to them – https://support.google.com/adsense/answer/6002621?hl=en
You could try to create a custom ad size – https://www.shoutmeloud.com/adsense-custom-ad-unit-size.html
– https://www.labnol.org/internet/adsense-custom-size-ads/28352/
Then enter the code in the theme panel and check if it appears as needed.
Thanks
Hello !
Please de-activate the mobile theme and let us know so we can inspect your issue for a bit. I’ve managed to recreate this issue only when my menu arrows were gone. If that is the case on your side too please paste this code here: https://www.screencast.com/t/vGLlR5lJIN
.td-mobile-content .td-icon-menu-right {
display: inline-block;
}
Let me know how this works !
Thank you !
Hi,
If you are using a category template from tagDiv Cloud Library, then only the post loop element and category grids can get the category posts dynamically, the rest of theme, is need to be set manually -> https://forum.tagdiv.com/block-settings-guide/
Thank you!