- NewsmagAbove footer ads
- NewsmagSmart list ads
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
Hi,
Please check the date:
https://www.screencast.com/t/4AExLYv4n
A solution provided 3 years ago will most likely not work anymore.
You can edit the header style that you use and then insert a do_shortcode function in the specific header code: https://www.screencast.com/t/iLTdHRY3APMF
Thanks.
I’m using full Revolution Slider’s ‘Featured Slider’ addon.
Before you say ‘Contact Themepunch’– I have, and my request for TagDiv is information about the right Newspaper theme files to make the change they have suggested.
Their featured slider addon is based on filtering WP function the_thumbnail (the_post_thumbnail?) with a piece of shortcode. This doesn’t work with themes that customized featured image code, such as Newspaper.
So I need to find the featured image code in the theme files to wrap with their shortcode.
Please help me find where to do it, and I’ll take the liability of experimenting with it myself. d(^^)b
Bonus info: They recommend using their shortcode which is [featured_revslider][/featured_revslider] via do_shortcode function, ala this example “echo do_shortcode(‘[featured_revslider][/featured_revslider]’);
Thank you for your time and consideration!
Todd Ruiz
Editor
KhaosodEnglish.com
Hello Osnak,
You should use the do_shortcode method and use the code below and place it on the content of your post, in the text editor.
The code is ->
do_shortcode ('[td_block_ad_box spot_id="custom_ad_1"]');
Make sure that your Ad Code has been added into the Custom Ad 1 from Theme panel Box.
Thanks for your understanding!
Hello,
Newsmag does not have a category template 7. If you use newspaper, then add the code like so: https://www.screencast.com/t/bX0W7VFQEh
Use this code as the one above was not wrapped in the code tags:
<?php echo do_shortcode ('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
Thank you!
Hello,
I try to place your code on the category template.
For example, i use the 7′ template category. The code it’s next:
Where i must add the short code <?php echo do_shortcode (‘[td_block_ad_box spot_id=”custom_ad_1″]’); ?>
I try to add on the end but he broke my page!
<?php
class td_category_template_7 extends td_category_template {
function render() {
?>
<!– subcategory –>
<div class=”td-category-header td-container-wrap”>
<div class=”td-container”>
<div class=”td-crumb-container”><?php echo parent::get_breadcrumbs(); ?></div>
<div class=”td-category-title-holder”>
<h1 class=”entry-title td-page-title”><?php echo parent::get_title(); ?></h1>
<?php echo parent::get_description(); ?>
</div>
<div class=”td-pulldown-container”><?php echo parent::get_pull_down(); ?></div>
</div>
</div>
<?php
}
}
Hello STBW,
Yes, you should add your Ad in the Custom Ad 1 if you want to display that add in the place where you have added the do_shortcode.
Thanks for the message!
Hello paul,
Notice that in theme exists three cases and you will have to add your do_shortcode method where exactly you want (no sidebar for example if you do not have the sidebar), like this -> https://www.screencast.com/t/xnswobbz
Hope this helps!
Thanks for the message!
Hello STBW,
Unfortunately, please notice that our theme does not have any such an option that allows you to add in that place of post your desired ad, sorry! For example, if you are using the post template style 1, you should edit the theme core file where this template was written and add there through do_shortcode method the ad you want, like this -> https://www.screencast.com/t/xdKEJdFd5orl After this, ensure that you have added your ad in the Custom Ad 1 field from Theme panel, Ads, section.
Hope this helps!
Thanks for the message!
Thank you. I know how to use do_shortcode() method, but still it allows to add block which width is main content width, not main content + sidebar. Everything i add in comments.php file has width which has main content, but i want it to be as wide as the page.
If there are no other options how to do that i will try to figure it out on my own one more time.
Hello paulberrow,
If you want to add some elements in that area, notice that you should edit the comments.php core file and add there the shortcode you want, using the do_shortcode() method. If you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
Thanks for your understanding!
Am incercat sa adaug doua zone de banner inainte si dupa Related Post, dar nu vrea sa se afiseze, desi am pun in fiecare fisier loop-single, si am folosit shortcodul
<?php echo do_shortcode (‘[td_block_ad_box spot_id="custom_ad_1"]‘);?>
Am incercat sa adaug direct codul de banner, dar nici asa nu functioneaza, nu arata bannerul.
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdc_state is not set.
/data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
wp booster error:
Missing parameter: 'file'
/data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php
Fatal error: Uncaught Error: Class 'tdc_state' not found in /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php:53 Stack trace: #0 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php(28): td_block_text_with_title->render(Array, '<p>[embedyt]htt...') #1 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-includes/shortcodes.php(345): td_global_blocks::proxy_function(Array, '[embedyt]http:/...', 'td_block_text_w...') #2 [internal function]: do_shortcode_tag(Array) #3 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-includes/shortcodes.php(223): preg_replace_callback('/\\[(\\[?)(embedy...', 'do_shortcode_ta...', '[td_block_text_...') #4 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(234): do_shortcode('[td_block_text_...') #5 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/vc_templates/vc_c in /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php on line 53
Same problem here. After I updated site to 8.1
wp booster error:
td_api_base::mark_used_on_page : a component with the ID: tdc_state is not set.
/data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_api.php
wp booster error:
Missing parameter: 'file'
/data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_autoload_classes.php
Fatal error: Uncaught Error: Class 'tdc_state' not found in /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php:53 Stack trace: #0 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/wp_booster/td_global_blocks.php(28): td_block_text_with_title->render(Array, '<p>[embedyt]htt...') #1 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-includes/shortcodes.php(345): td_global_blocks::proxy_function(Array, '[embedyt]http:/...', 'td_block_text_w...') #2 [internal function]: do_shortcode_tag(Array) #3 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-includes/shortcodes.php(223): preg_replace_callback('/\\[(\\[?)(embedy...', 'do_shortcode_ta...', '[td_block_text_...') #4 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/plugins/js_composer/include/helpers/helpers.php(234): do_shortcode('[td_block_text_...') #5 /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/vc_templates/vc_c in /data01/virt50419/domeenid/www.mkuubis.net/htdocs/wp-content/themes/Newspaper/includes/shortcodes/td_block_text_with_title.php on line 53
Hi,
I’m trying to implement the following code into single_template_2 to replace the original Newspaper theme top share section. I know where to put the code but when I place it the right sidebar pushes down, unlike the original theme share buttons. Any help would be great.
<?php echo do_shortcode('[easy-social-share buttons="facebook,pinterest,twitter,reddit,more,google,linkedin,stumbleupon" morebutton="1" counters=1 counter_pos="insidename" total_counter_pos="hidden" style="button" twitter_user="cruisehive" twitter_hashtags="#Cruise #Travel" hide_mobile="yes" point_type="simple" facebook_text="SHARE" twitter_text="TWEET" google_text="-" pinterest_text="PIN" linkedin_text="-" stumbleupon_text="-" reddit_text="-"]'); ?>
You can see the difference in the images below:
Before using Newspaper share buttons, look at the sidebar as it’s in correct position – https://photos.app.goo.gl/Oh0RxIVL992Kt1ft2
After adding the Easy social share code, sidebar gets pushed down which I don’t want – https://photos.app.goo.gl/y8qI4Wmp7RN0zY7y1
Warning: require_once(/home/ubuntu/workspace/wp-content/themes/Newsmag/includes/shortcodes/td_block_ad_box.php): failed to open stream: No such file or directory in /home/ubuntu/workspace/wp-includes/template.php on line 684 Call Stack: 0.0005 240400 1. {main}() /home/ubuntu/workspace/index.php:0 0.0006 243656 2. require(‘/home/ubuntu/workspace/wp-blog-header.php’) /home/ubuntu/workspace/index.php:17 0.3754 19416856 3. require_once(‘/home/ubuntu/workspace/wp-includes/template-loader.php’) /home/ubuntu/workspace/wp-blog-header.php:19 0.4058 19777464 4. include(‘/home/ubuntu/workspace/wp-content/themes/Newsmag/page-pagebuilder-latest.php’) /home/ubuntu/workspace/wp-includes/template-loader.php:74 0.8254 21083080 5. the_content() /home/ubuntu/workspace/wp-content/themes/Newsmag/page-pagebuilder-latest.php:78 0.8260 21085120 6. apply_filters() /home/ubuntu/workspace/wp-includes/post-template.php:240 0.8260 21086984 7. WP_Hook->apply_filters() /home/ubuntu/workspace/wp-includes/plugin.php:203 0.8277 21090912 8. call_user_func_array:{/home/ubuntu/workspace/wp-includes/class-wp-hook.php:298}() /home/ubuntu/workspace/wp-includes/class-wp-hook.php:298 0.8277 21091248 9. do_shortcode() /home/ubuntu/workspace/wp-includes/class-wp-hook.php:298 0.8280 21107200 10. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1417 21700376 11. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1417 21700872 12. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1417 21700912 13. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1417 21700912 14. vc_row->render() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1421 21701712 15. tdc_composer_block->do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php:36 1.1425 21702240 16. do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/tdc_composer_block.php:176 1.1427 21707824 17. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1428 21710576 18. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1428 21710752 19. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1428 21710792 20. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1428 21710792 21. vc_column->render() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1431 21711432 22. tdc_composer_block->do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php:56 1.1433 21711912 23. do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/tdc_composer_block.php:176 1.1435 21716936 24. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1435 21719240 25. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1435 21719736 26. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1435 21719776 27. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1435 21719776 28. td_global_blocks::get_instance() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1435 21720040 29. spl_autoload_call() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:35 1.1436 21720224 30. td_autoload_classes->loading_classes() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:35 1.1436 21723560 31. load_template() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_autoload_classes.php:42 Fatal error: require_once(): Failed opening required ‘/home/ubuntu/workspace/wp-content/themes/Newsmag/includes/shortcodes/td_block_ad_box.php’ (include_path=’.:/usr/share/php:/usr/share/pear’) in /home/ubuntu/workspace/wp-includes/template.php on line 684 Call Stack: 0.0005 240400 1. {main}() /home/ubuntu/workspace/index.php:0 0.0006 243656 2. require(‘/home/ubuntu/workspace/wp-blog-header.php’) /home/ubuntu/workspace/index.php:17 0.3754 19416856 3. require_once(‘/home/ubuntu/workspace/wp-includes/template-loader.php’) /home/ubuntu/workspace/wp-blog-header.php:19 0.4058 19777464 4. include(‘/home/ubuntu/workspace/wp-content/themes/Newsmag/page-pagebuilder-latest.php’) /home/ubuntu/workspace/wp-includes/template-loader.php:74 0.8254 21083080 5. the_content() /home/ubuntu/workspace/wp-content/themes/Newsmag/page-pagebuilder-latest.php:78 0.8260 21085120 6. apply_filters() /home/ubuntu/workspace/wp-includes/post-template.php:240 0.8260 21086984 7. WP_Hook->apply_filters() /home/ubuntu/workspace/wp-includes/plugin.php:203 0.8277 21090912 8. call_user_func_array:{/home/ubuntu/workspace/wp-includes/class-wp-hook.php:298}() /home/ubuntu/workspace/wp-includes/class-wp-hook.php:298 0.8277 21091248 9. do_shortcode() /home/ubuntu/workspace/wp-includes/class-wp-hook.php:298 0.8280 21107200 10. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1417 21700376 11. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1417 21700872 12. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1417 21700912 13. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1417 21700912 14. vc_row->render() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1421 21701712 15. tdc_composer_block->do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/shortcodes/vc_row.php:36 1.1425 21702240 16. do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/tdc_composer_block.php:176 1.1427 21707824 17. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1428 21710576 18. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1428 21710752 19. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1428 21710792 20. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1428 21710792 21. vc_column->render() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1431 21711432 22. tdc_composer_block->do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/shortcodes/vc_column.php:56 1.1433 21711912 23. do_shortcode() /home/ubuntu/workspace/wp-content/plugins/td-composer/includes/tdc_composer_block.php:176 1.1435 21716936 24. preg_replace_callback() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1435 21719240 25. do_shortcode_tag() /home/ubuntu/workspace/wp-includes/shortcodes.php:223 1.1435 21719736 26. call_user_func:{/home/ubuntu/workspace/wp-includes/shortcodes.php:345}() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1435 21719776 27. td_global_blocks::proxy_function() /home/ubuntu/workspace/wp-includes/shortcodes.php:345 1.1435 21719776 28. td_global_blocks::get_instance() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:28 1.1435 21720040 29. spl_autoload_call() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:35 1.1436 21720224 30. td_autoload_classes->loading_classes() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_global_blocks.php:35 1.1436 21723560 31. load_template() /home/ubuntu/workspace/wp-content/themes/Newsmag/includes/wp_booster/td_autoload_classes.php:42
I tried using both advanced excerpt plugin and adding add_filter(‘the_excerpt’, ‘do_shortcode’); in fucntions.php but didn’t work. In full post there is no problem in displaying audio player.
Thanks for reply!
The error only on homepage. I’m try to turn debug true and get this:
Notice: id was called incorrectly. Product properties should not be accessed directly. Backtrace: require('C:\wamp64\www\dev\wp\test\wp-blog-header.php'), require_once('C:\wamp64\www\dev\wp\test\wp-includes\template-loader.php'), include('C:\wamp64\www\dev\wp\test\wp-content\themes\Newspaper\page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_row->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, td_global_blocks::proxy_function, vc_column->render, tdc_composer_block->do_shortcode, do_shortcode, preg_replace_callback, do_shortcode_tag, DHVCWooCommerce->dhvc_woo_products_shortcode, DHVCWooCommerce->_render_product_loop, WC_Abstract_Legacy_Product->__get, wc_doing_it_wrong Please see Debugging in WordPress for more information. (This message was added in versio in C:\wamp64\www\dev\wp\test\wp-includes\functions.php on line 4139
Hi Tagdiv,
With the help of a tutorial written here – https://forum.tagdiv.com/topic/implement-infinite-scroll-on-single-posts/ and by using some common sense, I was able to apply infinite post scrolling on a single post.
Here is the step I took for this:
1. I am using TagDiv composer for the pages but to be able to use infinite scrolling on a single post, I have to enable Visual Composer for posts.
2. I wanted block-3 design and my default post type is: Style-1 so, I edited loop-single-1.php, I added the required code
Here is the code that you need to add under loop-single-1.php after <?php echo $td_mod_single->related_posts();?>
<?php $category_detail=get_the_category($td_mod_single->post->ID);//$post->ID
foreach($category_detail as $cd){ $cat_name = $cd->cat_ID; } $exclude_current_post = $td_mod_single->post->ID; echo do_shortcode('[vc_row][vc_column][td_block_3 custom_title="All LATEST STUFF" separator="" post_ids="'. -$exclude_current_post .'" category_id="' . $cat_name . '" limit="6" td_ajax_preloading="preload" ajax_pagination="infinite" ajax_pagination_infinite_stop="3" tdc_css=""][/vc_column][/vc_row]'); ?>
Though it worked properly, but I face two main issues.
1. I am using smart sidebars on each post and usually, it works great. With this infinite scrolling. I noticed that ‘The smart sidebar’ keep scrolling even above the full width infinite scrolling post blocks, and hence it overlaps.
( Here is the snapshot of overlapping – http://i.imgur.com/WCZfHcN.jpg )
How to make smart scroll stops once infinite scrolling starts? I noticed that this site ( http://www.storypick.com/short-film-affair/ ) is successfully able to use infinite scrolling and smart sidebar both. Please help me with this.
Overall, I want to to have a function like this: http://darnkid.com/illustrations-show-the-unique-bond-between-dads-and-daughters/ ( created by tagdiv user Darnkid )
2. Is there any way to have this feature without enabling visual composer for posts? Can we use TagDiv composer for this?
3. While trying for many solutions, I looked at a thread which suggested to el_class=”td-ss-row” for this. I tried using it in the above code. Well, though it stopped the overlapping of sidebar with infinite post blocks, it also disables the smart sticky property of Sidebar. What am I missing here?
Kindly help me with this.
Thank you.
Hello Exec,
If you want to place the Ads after the Related Articles/More from Author, you should edit the post template and add a do_shortcode in that section -> https://www.screencast.com/t/3tyHhXdblMzy (this is an example of post template style 8).
Thanks for your understanding!
Hi,
That would require modifications to the theme files. This is where the related section is defined in the theme
– https://www.screencast.com/t/P28HIhuW
You could try the solution from this topic and specify a category from which the posts will be displayed
– https://forum.tagdiv.com/topic/related-articles-3/
Or disable the default Related section (through the theme panel, or comment the code in the post template) and insert a block through a shortcode, with the filtering you want
– https://forum.tagdiv.com/topic/add-content-after-post-items-after-related-articles/
You could try it like this. Configure the block how you want it and use the code in te corresponding loop file with the post template used
– https://www.screencast.com/t/HbCMxRAii
– https://www.screencast.com/t/Rhu2nkHDNwIf
– https://www.screencast.com/t/d8V5PwrCIv
– https://www.screencast.com/t/pPx3KIirtQh6
<?php echo do_shortcode ('your shortcode here'); ?>
Thanks
Hello davidemorini,
Unfortunately, our theme does not have any such an option that allows you to change the category pages, sorry! The only settings which allow you to change the style of your category pages are located in Theme panel->Category section, like this -> https://www.screencast.com/t/WnVCfjcL8Ruo Notice that if you want to change your category pages, you should edit the category templates and insert some codes in order to achieve as you wish. As a hint, you should edit the category_top_post for style used by you and then you have to inject some PHP code with do_shortcode method, like this -> https://www.screencast.com/t/hHvdcCGixC8B Also, ensure that your Custom Ads contains some ads, like this -> https://www.screencast.com/t/7Ku6Rn43 and the result you should see here -> https://www.screencast.com/t/obnWcMVYJPtA After these changes, notice that you should adjust them with a bit of CSS for a better look and to get the results you want.
Notice that all of these should have be done by yourself because we cannot provide custom services at the moment, sorry!
Thanks for your understanding!
Hello fernando,
Please notice that Footer section does not have any ads implemented, sorry! If you want to add some ads in this section, you should use the Ads Box from the Widgets section and add it in Footer1,2,3, according to our Footer template used by you. If you want to apply some rules for your footer section, you should edit the footer.php core file. Also, you can use the do_shortcode method for insert some ads in this regard, according to the following documentation here -> https://developer.wordpress.org/reference/functions/do_shortcode/
Notice that is not a simple task and if you are not aware of the steps which are needed to take in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
Hope this helps!
Thanks fro your understanding!
I’ve solved it.
I think it’s a great feature for future Newspaper Updates!
<?php
$category = get_the_category();
echo do_shortcode ('[vc_row][vc_column][td_block_big_grid_fl_3 sort="featured" category_id="'.$category[0]->cat_ID.'"][/vc_column][/vc_row]');
?>
See this screenshot:
https://www.screencast.com/t/VaPOz43VvuY
Hi,
The tagDiv composer is not available for posts, only for the creation of pages. Also the elements you mention are not present at the moment in this editor. More options and items will be added in future updates
– https://forum.tagdiv.com/tagdiv-composer-tutorial/
You can choose from the available post templates and create unique post formats
– https://forum.tagdiv.com/post-templates-2/
– https://forum.tagdiv.com/post-formats-for-tinymce/
You could use a do_shortcode to insert a page building element in the post template file that you are using. Multiple related topics are available here on the forum. Like these topics for example
– https://forum.tagdiv.com/topic/add-content-after-post-items-after-related-articles/
– https://forum.tagdiv.com/topic/wanted-to-add-widget-belowabove-related-article/
Thanks
Hello,
If you want to add a custom block to a template it has to be done from the theme code. Only pages can be built using the page builder. Other templates do not feature a builder. You can use a do_shortcode function on other templates like this example: https://forum.tagdiv.com/topic/trending-now-on-category/
Thank you!