- NewsmagAbove footer ads
- NewsmagSmart list ads
- NewsmagArticle ads
- NewsmagSidebar ads
- NewsmagHeader ads
Hi
We didn’t tested the adrotate plugin so I can’t guarantee that will work 100%. However from our reports received from different users, the plugin works fine.
I am not sure why the plugins does not work on your site but you can try to deactivate all others plugins except Visual Composer and adroatate, just to be sure that there is no conflict, clear the cache memory, also check if the ad code it’s ok then test again.
Note that if you want to display it using the php code you will have to use the do_shortcode function like this:
echo do_shortcode('ad-rotate-shortcode'):
You can also check this tutorial here, it may help: http://www.wpbeginner.com/plugins/how-to-manage-ads-in-wordpress-with-adrotate-plugin/
Thanks!
Hello,
Thank you for appreciation.
You can try to add your content inside the smartlist file in the child theme: You will have to create the smartlist path and move these files over to your child theme: http://screencast.com/t/0RKJoBNqJT
Then you can edit the smartlist you use and add the shortcode with a do_shortcode function like so:
http://screencast.com/t/JnFFBrDSt2l
$buffy .= do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
This was an example for an ad on smartlist 7. I assume the comments have a shortcode as well so you can use the same function to make them display inside a smartlist.
I hope this helps.
Thank you!
Hi
You can insert an ad under post title using do_shortcode function in the file corresponding with post template used, like here: http://screencast.com/t/sOX6p9gHJ
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]'); ?>
To get the shortcode add an ad box into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
For homepage you can use the adbox clock from Visual Composer like here: http://screencast.com/t/0kTjlWwwg – http://screencast.com/t/USSisJGc
Hope this help!
Thanks!
-
This reply was modified 10 years by
Andrei L..
Salut Cristi990,
Pagina de blog foloseste module si o poti seta din Theme panel astfel -> http://screencast.com/t/UFIm7ofCmA Ceea ce mi-ai aratat mai sus sunt blocuri, iar acestea pot fi setate din Theme panel numai pentru o pagina statica, cu ajutorul Visual Composer-ului. Daca vrei sa adaugi blocuri pe pagina ta de blog, singura modalitate prin care le poti insera este din cod cu ajutorul metodei do_shortcode. Fisierul care trebuie modificat este index.php. Te rog sa observi ca nu este o sarcina foare usoara si necesita customizari ulterioare. Daca nu sti pasii despre care am vorbit mai sus, ar trebui sa angajezi un freelancer/developer pentru a te ajuta in acest scop deoarece noi nu oferim servicii personalizate momentan, imi pare rau.
Multumesc pentru mesaj!
Salut
Poti adauga block-ul trending now in continutul postului folosind functia do_shortcode(). Primul pas e sa creezi o pagina noua, adauga block-ul trending now, schimba in backend editor, copiaza codul acesta: http://screencast.com/t/R7EhK07r si insereazal in fisierul corespunzator pentru post template-ul folosit pe posturi: http://screencast.com/t/roJqV84Auqmg Rezultatul ar trebuii sa fie ca in acest screen: http://screencast.com/t/xPPbtBbiy9x
<?php echo do_shortcode('[vc_row][vc_column][td_block_trending_now][/vc_column][/vc_row]'); ?>
Multumesc!
-
This reply was modified 10 years by
Andrei L..
Ηello!
I’ve placed the below code according to the manual ( http://screencast.com/t/d8lpONYQZ ) but it doesn’t work.
<?php echo do_shortcode(‘[td_block_ad_box spot_id="custom_ad_1"]‘);?>
Can somebody help me?
Hi,
Unfortunately there is not option to enable a similar option for tag page, sorry! You could try to implement a Big Grid to the tag template using do_shortcode function but you will get the same result on all your tags or/and you could create conditions using is_tag function – https://codex.wordpress.org/Function_Reference/is_tag This is not easy if you don’t have basic php skills, but you could hire a freelancer to do this for you as we cannot provide custom work at this time sorry!
As reference please check this topic(is from newsmag but it works the same) – https://forum.tagdiv.com/topic/tag-settings/
I will add this request to our list but I cannot promise you anything regarding it, if/whem it will be implemented!
Thanks!
Hi,
1. You can add a custom ad for the post template that you use, just edit the file and use do_shortcode function – http://screencast.com/t/0pSIpUWyHe
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
There are many topic about how to add a custom ad, as reference:
https://forum.tagdiv.com/topic/move-the-bottom-article-ad-spot-below-the-share-bar/
https://forum.tagdiv.com/topic/move-bottom-article-ad/
2. You have an option to disable the top share buttons in Theme Panel > Post Settings – http://screencast.com/t/U6oKOhxAp
3. The article bottom ad is added in the post content so it will be difficult to move it, the best way would be to use a custom ad instead, like on your first question and place it bellow the post pagination – http://screencast.com/t/rYW22HFj6tv
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
Hi
You can use the do_shortcode function in author.php file like here: http://screencast.com/t/W0M6ZyLMy – http://screencast.com/t/LaEz5azY
To obtain a dynamic form depending by author follow this steps:
-create a contact form for each author and complete it with its contact details: http://screencast.com/t/IfZHuS77R Each form will have a unique shortcode
-in author.php file you will need a condition like this: http://screencast.com/t/7EZaBKXCnm0
<?php
if (the_author_meta('first-author-id')){
echo do_shortcode('contact-form-for-first-author');
}
elseif (the_author_meta('second-author-id')){
echo do_shortcode('contact-form-for-second-author');
}
?>
To find the author id follow this link: http://screencast.com/t/UqX5wQ9CxIGw
Thanks!
-
This reply was modified 10 years by
Andrei L..
Hello jandiederik,
I have checked you website again and saw that you use header style 3. If you want to have the ad, just under the menu for all the site, I suggest using do_shortcode method’s and add the code in your header style 3 template, like this -> http://screencast.com/t/mGCuepZT
The code is ->
do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Also, for a better look, you should try the code below to increase a bit the margin-bottom of the menu.
.td-header-menu-wrap-full {
margin-bottom: 10px;
}
The result you should see here -> http://screencast.com/t/Oan9HtdqXV5
Hope this helps and let us know how it goes!
Thank you for the message!
Salut,
Ce header template folosesti? Daca folosesti header-ul default(1) si vrei sa mai adaugi un custom ad sub meniu ai putea incerca aceasta implementare – http://screencast.com/t/maoFTZOPECC
echo do_shortcode('[td_ad_box spot_id="custom_ad_1"]');
Mersi!
Hello mzirafos,
Unfortunately, our theme does not have such an option for blog mode but if you want to achieve as you want, it is necessary to alter the code. You should use do_shortcode method and add the code in index.php core file. First of all, you have to create, for example, a block with your desired configuration and then you have to copy/paste the code of this feature from Visual Composer to index.php. Please follow the steps below and try to implement this method into your backend.
Steps -> http://screencast.com/t/EcUZqBidw -> http://screencast.com/t/oZUk6Lue -> http://screencast.com/t/6DH9gcogDwk -> http://screencast.com/t/Zwn0cfQAbrt and from here you have control over your homepage in blog mode -> http://screencast.com/t/QMUb3gnfu
The example of the code is ->
do_shortcode('[vc_row][vc_column][td_block_2 custom_title="Block title 2" category_id="6"][/vc_column][/vc_row]');
?>
Please try to follow the steps that I gave you above and please notice that after this changes, it is necessary to do some custom style modification for a better look.
If you are not aware the steps in this regard, please consider hiring a freelancer/developer to do this for you because we cannot provide custom work at the moment, sorry!
Thank you for the message!
Hi there
i found another plugin and its look easy..
after install it and creat icons set i add this code to the header file
<?php echo do_shortcode('[aps-social id="1"]')?>
and i get the icons on homepage.. but its look like this..
how to make it work well?
thanks..
Hello,
You can add a custom ad in that spot by editing the theme files like so: http://screencast.com/t/jR9NvFbOIN
Add this code under the ‘get_pagination’:
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
You will have to place the code under the pagination for your specific case. There a re 23 cases in the file. No sidebar, sidebar left and sidebar right. Make sure you add the code to your specific case to it will not work until you have the sidebar set to the case you place the code in.
I hope this helps.
Thank you!
Hi
The new container must be added in page.php file like here: http://screencast.com/t/7sST7ry5pA9D Also you will need this basic css in theme panel > custom css:
.social-share{
float: left;
margin-left: 90px;
width: 250px;
}
.td-container{
clear: right;
}
To generate the code for social share buttons you can use the code used by the theme for share buttons from post content: http://screencast.com/t/Xm3p5kbjz and customize such that to display the share buttons on a page. Also you can use a plugin for sharing buttons and just echo out its shortcode using do_shortcode function:
echo do_shortcode('social-share-shortcode');
Thanks!
Hi
To add the code in head you need to edit the header.php file and paste our code here: http://screencast.com/t/7aaHtLY3hHa
You can add an ad code under post title by editing the loop file corresponding with the post template used and the adspot shortcode here: http://screencast.com/t/uA5zQ5AY
echo do_shortcode('your shortcode ad');
To get the shortcode add an ad box into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function.
Hope this help!
Thanks!
Hi @r4stam4n
You can’t display another page inside 404 page but you can display some Visual Composer blocks if you want, using do_shortcode function. First you need to create the desired layout in Visual Composer: http://screencast.com/t/Pe1bLh4T then switch on backend editor, copy the shortcode: http://screencast.com/t/rQqeLoG3yA and paste it inside the function in 404.php file: http://screencast.com/t/nWxyZNt9TRKB
Hope this help.
Thanks!
Hello,
The best method to get this done is to remove the article inline ad and simply add a custom ad with a shortcode in the loop file like so:
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?> and then simply add your plugin shortcode under it.
http://screencast.com/t/vwwYCywXTsG
Thank you!
-
This reply was modified 10 years by
Alin [tagDiv].
Hi
Your conditions should look like this: http://screencast.com/t/3PrP73R5oHk Make sure that you concatenate the new adbox to the content, otherwise it won’t be displayed fine. In this example I used the original implementation of the theme regarding ads, but you also can use do_shortcode function.
Thanks!
Hi
You can use the do_shortcode function in the file corresponding with post template used like here: http://screencast.com/t/DbSlmY24hN
do_shortcode('widged shortcode'); ?>
To get the widget shortcode create a new blank page, add the widget on it then press the classic mode button to switch in backend editor, copy the shortcode and paste it inside the indicated function.
Hope this help.
Thanks!
Hi
I’ve test the current theme version available on themeforest with the bbpress plugin and works fine. We didn’t tested the plugins that you indicated with the theme so there is a chance to appear some conflicts with theirs usage. To display Visual Composer elements in footer you ca use do_shortcode function like here:
– edit the file corresponding with the footer template used and add this code where do you want to disply the visual composer elements: http://screencast.com/t/8KlxxnmFF4
– to get the shortcode create a blank page, add on it your block then switch in backend editor, copy the code and paste it inside do_shortcode function: http://screencast.com/t/1kwkgW7ZkgGB – http://screencast.com/t/vIJbntv0P
Also try to deactivate all plugins except Visual Composer and bbpres, clear all caches and test again.
Let us know how it goes.
Thanks!
Hello rishab55555,
The theme uses the default feeds system built in with WordPress. You can try to use a plugin with a similar functionality but I can’t make any recommendation in this regard as we didn’t test any of these plugins and I can’t say how they will work with our theme.
For your seconde request, you have to use do_shortcode method and should alter the single_template file core according to post template used by you, like this -> http://screencast.com/t/NOgpxWYQvEuD -> http://screencast.com/t/IiREff1y -> http://screencast.com/t/lN3LXaWSbom4
<?php echo do_shortcode('[vc_wp_rss items="10" options="show_summary,show_date" url=" https://www.naukrinama.com/employment-news/"]');?>
Please follow the steps that I gave you above and test on your side and see how it works. Please notice that I gave you an example for singe_template_4. If you are using another post template you have to change it.
Hope this helps and let us know how it goes!
Thank you for the message!
Hi
The top menu wasn’t designed to display ads but you can use do_shortcode function in top-menu.php file like this: http://screencast.com/t/ZvPGFp8dbS
echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');
Also you will need this css in theme panel > custom code > custom css: http://screencast.com/t/K6DdjFDOd0zK
.td-header-sp-top-menu{
padding-bottom: 10px!important;
}
Thanks!
Hello svetaznalec,
Please ensure you have inserted a code in your custom ad field, like this -> http://screencast.com/t/n7ZnmFwa0Rq and then you have to introduce manually for each post in your text editor, like this -> http://screencast.com/t/3hQofWZi ([td_block_ad_box spot_id="custom_ad_1"])
If you want to have for all your posts, you have to alter the file core corresponding to single template used by you like this -> http://screencast.com/t/8W4RpFk3 (this is an example for post template style 6)
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
Hope this helps and let us know how it goes!
Thank you for the message!