- 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
ok,
i copied the td_block_mega_menu.php from wp-content/plugins/Newspaper/includes/shortcodes/ to
wp-content/themes/my-child-theme/includes/shortcodes/ and modified the code as shown above.
@Robert: I think it solves, please let me know if the solution has issues
Hi,
I’m not very sure, but it can be a cache plugin or cdn that is blocking the ajax for autoload -> https://i.imgur.com/plyBzWf.png
But to be sure you can make a staging where you can set the actual website and there you can check the plugins.
Thank you!
Hi Calin,
I investigated and maybe found a solution, but I need to override the td_block_mega_menu.php file in plugins/Newspaper/includes/shortcodes/
How can i do this?
The solution in quite simple: on line 140 of that file, change the get_categories() params from ‘child_of’ to ‘parent’.. so from:
$td_subcategories = get_categories(array(
‘child_of’ => $category_id,
‘number’ => $show_child_cat
));
to
$td_subcategories = get_categories(array(
‘parent’ => $category_id,
‘number’ => $show_child_cat
));
That seems to solve, but how can i override the function in my child theme?
Thanks
Is there any way I can delete the block that shows the authors picture,website etc. Whenever I preview the post it always shows the author on the bottom, and I have tried everything to get rid of it.
Thanks
Hi mbsat1,
You can use the category filter like this -> https://i.imgur.com/bTq7zOM.png or you can use the categories ids -> https://i.imgur.com/jH2OwQz.png you can check more in our documentation from here -> https://forum.tagdiv.com/block-settings-guide/
Hope this will help you!
Thank you!
Hello !
1. You can edit your pages using tagDiv composer and add more blocks. Find out more about it here: https://forum.tagdiv.com/flex-block-settings-guide/
2. You can create a sidebar by following our guide here: https://www.youtube.com/watch?v=fa7GenCHcBU
Thank you !
Hi,
With our theme you can also use the Revolution Slider or you can use the slide from tagDiv Composer -> https://i.imgur.com/GEhLcmV.jpg, edit a page -> https://i.imgur.com/NgtOCpq.png and add this element -> https://i.imgur.com/87e9FRQ.jpg this can be filtered using the settings from filter -> https://i.imgur.com/AJYHZO6.jpg
How to install Revolution Slider v5-> https://forum.tagdiv.com/how-to-install-revolution-slider-v5/
Import Revolution Sliders on demos -> https://forum.tagdiv.com/import-revolution-sliders-on-demos/
Thank you!
Hi,
To edit the page/homepage, you can use tagDiv Composer, the theme builder.
For that you can use the filter tab from tagDiv Composer and you can exclude a post, or you can use the option for unique article -> https://forum.tagdiv.com/unique-articles/
Thank you!
Hi,
Yes, we tested on more desktops in some of them is working, but is take a good time until is loading and on few desktops like in my case the loading is block.
Thank you!
Hi,
I am trying to sort posts by category in “Block 21” . The element only shows posts when set to “all categories” I have tried changing the category, and using the specific category id, but I cannot seem to get the category filtering to work. Any help would be appreciated. Thank you
Hello and thanks for the wonderful themes!
I am currently developing a website using the pulses pro theme.
On the homepage i would like to have one big block of my latest post and right next to it a “news feed” widget with the titles of my latest posts. I would like the latest post on the block excluded from the “news feed” widget next to it. Sort of “passover 1 post” on the widget.
Is there a way to do that?
Thanks in advance
Hi,
I am creating a Nepali News website. I want to change Load More pagination option found in Flex Block name to something other like this { थप हेर्नुस } which in my contry language means Load More. and view all results in search bar to something like this { सबै खोजहरु }… Is there someway to make it happen through live CSS.
Hi,
For this https://prnt.sc/tbr5tq you need to set the row or inner row in 3 column like this -> https://i.imgur.com/Alz0xEH.png and you can use flex block elements, these can be adjusted with tagDiv Composer -> https://i.imgur.com/kRlRjFQ.png -> https://i.imgur.com/dmH3jot.png do not forget to set the filters and sort.
For this https://prnt.sc/tbr6sk you can use flex block 1, set the number of the elements you want to have -> https://i.imgur.com/Wcyz3Tu.png after that set the layout to make the blocks inline -> https://i.imgur.com/NAZqBvq.png also you can adjust the size of image -> https://i.imgur.com/u59Uo95.png -> https://i.imgur.com/nORlrU9.png
Hope this will help you!
Thank you!
Hi,
I could not find the specific grid that I wanted showing here https://ibb.co/2npKNc3
Do you have documentation to modify or create our own grid in this theme?
Regards,
Sounay
Hi,
In some cases the images need to be regenerate in order to fit the module from block, for this you can use our guide form here -> https://forum.tagdiv.com/thumbnails-fix-strange-looking-images-on-blocks/
If the problem is still there please provide me a link where I can inspect this problem.
Thank you!
Hi topgunsalute238,
Please follow the indications step by step and set the width and inline block option only on mobile not on desktop -> https://i.imgur.com/0pgQfqZ.jpg-> https://i.imgur.com/dBwgGIy.png
Thank you!
Hi,
Maybe this problem is just for me, what you can do is to make some tests with other desktops and if the problem persists, then you can do two things: one disable this option, or two check the plugin that can block this option.
Thank you!
Hi,
The images will not be display if you have some ad blockers activated, then yes, these images will be seen as some ads and not normal images.
Thank you!
I got the same problem for one day and then it reset itself but came back later, had to apply Calin’s suggestion which worked, you can find that back here: https://forum.tagdiv.com/topic/wordpress-block-editor-changes-to-mobile-view/
Hi, i have been working well with the Gutenberg editor but i was editing and i got realize that the editor got smaller, i mean, the editor block is smaller than when i installed the theme, can you help me telling me what is happening?
Hello,
I would like to place an icon in the post title of every article from the category “plus”. That should be shown on every page, category-page and post-page. I’ve tried this in Custom CSS:
article.category-plus > header.entry-header > .entry-title:before {
content: url(‘wp-content/uploads/2020/05/C-Plus.png’);
display: block;
float: right;
margin-right: 10px;
width: 1em;
height: 1em;
}
and this in functions.php:
if (has_category( 'plus' ))
return;
echo '<style>
.entry-title:before {
content: url("https://testfeld051.magazin.de/wp-content/uploads/2020/05/C-Plus.png");
margin-right: 10px;
}
</style>';
}
Unfortunately, neither of them works. Does anyone have any idea how I can make it work?
Hi tgrassey,
Pressing the next buttons should display the posts from the category that you have filtered or from all categories, this is the way that was build to work.
If this is not working like this, please make sure that you do not have a plugin conflict, please deactivate ALL plugins except tagDiv Composer, also if you are using child theme or cache plugin, deactivate them, clear all cache and try again.
Also I see that you are using Newspaper v8.8 and now the last version is Newspaper v10.3.5 unfortunately I do not have that version and the files with code for Ajax next prev code is in a different pace with a different structure in last version. now the file path is wp-content/plugins/td-composer/legacy/common/wp_booster/td_block.php I think that in version you are usin will be something like this wp-content/themes/Newspaper/common/wp_booster/td_block.php -> https://i.imgur.com/Vm4mhCj.png
Thank you!
Hi,
I just try again and for me is not working, I just wait and wait and nothing, here is a video -> http://www.filedropper.com/2020-07-031655 is look that you have some plugins that block the infinite loading.
Thank you!
Thanks but that’s just not an option.
Can you tell me where I can find the Ajax code or whatever code is controlling the next button? Even when we change the block to infinite load it pulls in the same wrong data on the second and subsequent loads. It seems as if the pid on the URL is lost after the initial load of the page.
-
This reply was modified 6 years by
tgrassey.
Hi,
So you have set on the “Read More” button a custom link that is taking you to a custom page where you have set a block 12, this block must be filter in some ways (normal will be to display one or more categories and the post to be sort after latest => https://i.imgur.com/rhmn9fI.png or you can have all the categories filtered by latest), also the user can get on that page only if is clicking on that button.
Now If I understand correctly you have some more pages that has this type of button that are redirection to a custom page, unfortunately there is no general option that can do what you need, the only this is to manually edit these pages and set the filters and the sort on each one to obtain the results you need.
If I’m right is just like you was building pages for categories.
Thank you for your understanding!