- ApiPractical example – How to add a new Block and Module
- Apitd_api_top_bar_template::delete
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- Apitd_api_single_template::delete
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- Apitd_api_footer_template::delete
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- Apitd_api_smart_list::delete
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
- Apitd_api_thumb::delete
- Apitd_api_thumb::update_key
- Apitd_api_thumb::update
Hi,
You can use do_shortcode function and display 2 custom ads bellow the menu for all pages like this:
*edit header template that you use(I guess it is default) and add the code – http://screencast.com/t/aSDNZlOzk
<div class="td-container">
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_1"]');?>
<?php echo do_shortcode('[td_block_ad_box spot_id="custom_ad_2"]');?>
</div>
*use this custom css in Theme Panel > Custom Css – http://screencast.com/t/dFXToqBr
.td-header-style-1 .td-a-rec-id-custom_ad_1 {
float: left;
margin-right: 20px;
}
.td-header-style-1 .td-a-rec-id-custom_ad_2 {
float: left;
}
Please not that this is an example how this can be achieved. For non-adsense code we suggest to use this div container and add a specific image size for each device – https://forum.tagdiv.com/header-ad/
If you use adsense code you can control the size from Theme Panel for each ad spot – http://screencast.com/t/Nczvl9AbRGHY
If you don’t have basic php/html/css experience I suggest to hire a professional developer to do this for you.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
-
This reply was modified 10 years by
Alin [tagDiv].
Hi,
For example: i want to embed this video: http://screencast.com/t/le3Iz4fyP18. I get the embed code from facebook and place it in a raw html video composer element or on a post. The result: http://screencast.com/t/vEmO0Txp.
If you are trying to embed it as a featured video, you can only get featured images from Youtube or Vimeo. http://screencast.com/t/GVRiuNfHCDGq. The theme was designed like this and there is no easy way to include Facebook to this list.
I hope this helps!
Thanks.
I have selected “Category Global Settings” and have also tried “Per Category Settings”, but cannot get anything to display below the “Category Top Posts” …
You can see an example of the problem here: http://amatterofbusiness.com/category/resources
Please help me fix this problem as quickly as possible, awaiting your reply … thank you!
Hi,
I’m displaying 3 google adsense on my website : 2 in the article page -> top and bottom of the article / one in the sidebar.
In order to avoid having my account stopped, i would like to display a mention “Advertissement” just at the top of each ads. How can I do it? I tried to add it within the ads menu of the newspaper theme options but i doesn’t display anything.
Here is what I tried to do :
<p>Publicité
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<ins class=”adsbygoogle”
style=”display:block”
…
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
Does someone has a solution?
More information about how to comply with adsense rules?
Here is an example : http://buzzissime.com/piqures-abeilles/
Thanks in advance
Oh, I forgot to give my site’s info…
URL: http://embracedominica.com/
Simple product sample: http://embracedominica.com/all-products/single-product-sample/
Variable product sample: http://embracedominica.com/all-products/pink-sunset/
Thanks again.
Yuri
Hello,
I noticed that since i upgraded to WordPress 4.3 i can’t use any shortcut anymore. For example cmd+F is not working.
Another thing that is also not working is the “Insert link” tool. When I try to insert a link on a word/phrase, it pops up the windows where i paste the link but when i click OK it just doesn’t work.
Since i haven’t found anyone with the same issue on the Internet, is it possible that it’s related to some sort of compatibility problem with the Newspaper Theme or the recommended plugins?
Hi Emil,
thanks for taking time to look into my problem.
I do use SEO by Yoast too and I’ve never touched the code in your theme until recently.
What’s puzzling me is that search engines don’t fetch what they should.
Meta description is random, there’re no categories in google search and so on.
Do you know anyone that can provide me paid SEO code assistance please?
This is the data structure output:
WebSite
url: http://italyze.me/
name: ItalyzeMe
potentialAction [SearchAction]:
target [EntryPoint]:
urlTemplate: http://italyze.me/?s={search_term_string}
query-input [PropertyValueSpecification]:
valueName: search_term_string
valueRequired: http://schema.org/True
SiteNavigationElement: http://italyze.me/td-header-menu
url: http://italyze.me/
name: ItalyzeMe
url: http://italyze.me/
name: ItalyzeMe
image: http://italyze.me/wp-content/uploads/2015/08/coltivazione-aglione-218×150.jpg
name: L’aglione della Val di Chiana
url: http://italyze.me/laglione-della-val-di-chiana/
image: http://italyze.me/wp-content/uploads/2015/08/consorzio-patata-rossa-cetica-min-218×150.jpg
name: La patata rossa di Cetica
url: http://italyze.me/la-patata-rossa-di-cetica/
image: http://italyze.me/wp-content/uploads/2015/08/paccheri-rigati-pomodoro-218×150.jpg
name: Paccheri o Schiaffoni?
url: http://italyze.me/paccheri-o-schiaffoni/
image: http://italyze.me/wp-content/uploads/2015/08/fugassa-ligure-218×150.jpg
name: La fügassa ligure
url: http://italyze.me/la-fugassa-ligure/
image: http://italyze.me/wp-content/uploads/2015/09/miele-218×150.jpg
name: Golosa luna di miele agli sposi!
url: http://italyze.me/golosa-luna-di-miele-agli-sposi/
image: http://italyze.me/wp-content/uploads/2015/09/gigli-pomodoro-mulino-218×150.jpg
name: Una sosta al Mulino Val d’Orcia
url: http://italyze.me/una-sosta-al-mulino-valdorcia/
image: http://italyze.me/wp-content/uploads/2015/08/carbone-218×150.jpg
name: Cucinare con la cenere
url: http://italyze.me/cucinare-con-la-cenere/
image: http://italyze.me/wp-content/uploads/2015/09/lavorazione-legno-attrezzi-ceppo-218×150.jpg
name: I bigonai del Casentino
url: http://italyze.me/i-bigonai-del-casentino/
image: http://italyze.me/wp-content/uploads/2015/09/moggiona-218×150.jpg
name: Moggiona tra monaci e artigiani del legno
url: http://italyze.me/moggiona-tra-monaci-e-artigiani-del-legno/
image: http://italyze.me/wp-content/uploads/2015/08/tortello-cetica-218×150.jpg
name: Andando per tortelli in Casentino
url: http://italyze.me/andando-per-tortelli-in-casentino/
image: http://italyze.me/wp-content/uploads/2015/08/monteriggioni-tramonto-218×150.jpg
name: La leggenda di Monteriggioni
url: http://italyze.me/la-leggenda-di-monteriggioni/
image: http://italyze.me/wp-content/uploads/2015/08/monteriggioni-campi-grano-218×150.jpg
name: Monteriggioni cuore ideale della Toscana centrale
url: http://italyze.me/monteriggioni-baricentro-ideale-della-toscana-centrale/
image: http://italyze.me/wp-content/uploads/2015/09/grifi-piatto-218×150.jpg
name: I grifi all’aretina
url: http://italyze.me/i-grifi-allaretina/
image: http://italyze.me/wp-content/uploads/2015/09/cecina-218×150.jpg
name: Cecina, Farinata, Caldacalda o cinque e cinque?
url: http://italyze.me/cecina-farinata-caldacalda-5e5/
image: http://italyze.me/wp-content/uploads/2015/03/pici-allaglione-218×150.jpg
name: I pici all’Aglione
url: http://italyze.me/i-pici-allaglione/
image: http://italyze.me/wp-content/uploads/2015/08/penne-al-pesto-closeup-218×150.jpg
name: Il vero pesto genovese
url: http://italyze.me/il-vero-pesto-genovese/
image: http://italyze.me/wp-content/uploads/2015/07/zuppa-del-tarlati-chef-vitale-218×150.jpg
name: Una zuppa del Tarlati da Chef
url: http://italyze.me/una-zuppa-del-tarlati-da-chef/
Hi People,
Please can anyone help me on these issue on having duplicate when sharing a post on social pages. When i click facebook share icon, the post will appear twice in our facebook page.
And moreso, on google plus, wrong picture will appear with a write post. i.e. when a post is posted, it will come out with a wrong picture, instead of the original picture.
Thanks and expecting any likely support and help
Regards
Hi
There is no custom css for the page you indicated from our demo, we just added different formats on text to get the current layout, here is the code from Visual Composer: http://pastebin.com/hcq8ncnP You can paste it in VC, in Backend editor and use it as example for your page: http://screencast.com/t/YhtLXcuOiqo
Hope this help.
Thanks!
Hi good day,
I’m adding an ecommerce component to my website and I really don’t like how “plain” or “drab” the Woocommerce modules look.
For example, the style of the product page, size of Add to Cart button, etc. Overall, it doesn’t entice the customer to continue shopping. Here’s my product page: http://embracedominica.com/all-products/pink-sunset/
On the other hand, take a look at this product page: https://www.harrys.com/products/the-truman-set for comparison. While it isn’t a Woocommerce-powered page, I just wanted to show how nicely put together a product page should be.
So here’s my question:
How can I fix this? Do I need a coder to customize the templates included in the theme? Or is there a plugin that you know of to enhance the look? (I’ve looked for plugins but none seem to address the core “look” and feel of the ecommerce page… they just change font color, etc.)
Thanks in advance.
Yuri
Hi,
Thanks to reply, I found the solution for the post… After some hours…
I have questions:
1 / What is the error on the right blok ? I just use template page with bloks, no shortcodes.
2/ Why on my blok “Economie & Finance” the menu is the main menu, I would like to have the su-category of this main category, I dont find that, and I dont understant why the main menu appear.
3/ How to ad link or menu to the top bar after the “date”,
4/ How to just test the template homepage of your theme without lost setting of my site ?
Thanks,
I am in France and very hard with the jetlag…
Hi Chris, Yes!! Your solution is that i am looking for. Thanks.
I have a little trouble with the image regeneration. Could you help me?.
The sizes that i am using in the index are:
Block 4 = 250 X 160
Block 16 = 218 X 150
Block 1 = 100 X 70 and 324 X 235
Block 7 = 100 X 70
Block 14 = 356 X 220
Then, the first i do is:
1) in the setup MEDIA Thumbnail sizes i put the following:
Small : 100 x 70
Medium: 250 x 160
Big : 356 x 220
2) Then i run the “Regenerate Thumbnail plugin” and i could see this..
Debugging Information
Total Images: 67
Images Resized: 0
Resize Failures: 67
function (){if(h){var d=h.length;!function f(b){m.each(b,function(b,c){var d=m.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&f(c)})}(arguments),b?e=h.length:c&&(g=d,j(c))}return this}
And the last line is repeated a lot of times.
The good thing is that when i go to see the index, all images are now with perfect size.
But, finally, i must edit a news, and when i press <Save> appear the “white windows of death”, with this errors:
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: imagecreatetruecolor(): Invalid image dimensions in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php on line 2130
Warning: imagecopyresampled() expects parameter 1 to be resource, boolean given in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/class-wp-image-editor-gd.php on line 198
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php:2130) in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-admin/post.php on line 242
Warning: Cannot modify header information - headers already sent by (output started at /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/media.php:2130) in /Applications/MAMP/htdocs/wordpress-clean-new6.5/wp-includes/pluggable.php on line 1207
The first that i have checked is if the GD library is installed. But YES!.. It is in my phpinfo.!
Searching in google i saw that the thumbnail must be in certain size or the resize isn’t work.
how it work?. How i can setup my own sizes?.
Regards.
Hello guys! I have partnered with an agency and my site with the previous template worked perfect video campaign. When you lowered the mouse to the second paragraph, the video was open and reproduced automatically.
But now it is not working. = /
I put the code in AD ARTICLE INLINE, though not worked! Script: <script src=”http://icarus-wings.admanmedia.com/intext/intext_vast.js?pmu=a32fa357;pmb=5b204bf5;size=600×338;visibility=50″ data-adm-player=”intext”></script>
What to do? I really need this feature working. = /
Thank you.
No, maybe I expressed myself badly. I want to show an advertisement only in the sidebar of the home page and not, for example, in the pages of an article. How do I proceed?
I understand, but it is unfortunately very expensive . On the other hand , I would like to encourage you to implement such a solution in the next installment of the template for example . Articles fundraising . Thanks
Hi,
You can set a block to display articles from a specific category or by multiple categories(using category id) – https://forum.tagdiv.com/block-settings-tutorial/ Also the theme has an option to enable unique articles or offset features on the page(the guide is from old documentation, but it works the same) – https://forum.tagdiv.com/unique-articles-and-offset-newspaper/
If you refer exclusively to the featured posts you can set the sort order to Featured so you can display only the featured posts from a specific category, for example – http://screencast.com/t/FJP3Ja6h3 – http://screencast.com/t/Ib9wY3Wh – http://screencast.com/t/jCbanTqV
The theme doesn’t have an option to display an article on a specific spot from block, if this what you mean.
Thanks!
Website: http://amatterofbusiness.com
Extraneous computer code appears throughout my Home page … here are some examples:
[vc_row][vc_column width=”1/1″]
[/vc_column][/vc_row][vc_row el_class=”td-ss-row”][vc_column width=”2/3″]
[/vc_column][vc_column width=”1/3″][td_block_social_counter custom_title=”STAY CONNECTED” facebook=”tagDiv” twitter=”envato” youtube=”envato”]
… etc …
Please help me fix this problem … awaiting your speedy reply … thank you
Hi,
A test on our demo shows that its mobile friendly and doesn’t have any issues: https://www.google.com/webmasters/tools/mobile-friendly/?url=http%3A%2F%2Fdemo.tagdiv.com%2Fnewspaper%2F
It seems that a resource is blocked by robots.txt – http://screencast.com/t/0QJzgJwo Please check their guide – https://developers.google.com/webmasters/mobile-sites/mobile-seo/common-mistakes/blocked-resources?hl=en-US&utm_source=MFT&utm_campaign=MFT&utm_medium=incoming-link also this can help – http://www.davidtiong.com/is-my-wordpress-responsive-website-mobile-friendly/
Also you can test this without using any plugins, leave just theme’s Visual Composer plugin and also make sure that you disable all html/js compression and test again.
Thanks!
-
This reply was modified 10 years by
Alin [tagDiv].
In advertisements brand Newsmag and also like the Russian language is always touted , it is very rare because I’m Latin and many people in Europe example Spain has told me that look the same and do not advertise your region , ads are provided by Adsense, there any way to change the geolocation to the theme ?
Is it possible to sort posts by date in ASCENDING order on category archives?
I’ve tried to add this but no luck: <?php query_posts($query_string.”&orderby=date&order=ASC”); ?>
You would likely need to edit the query for the author box element with an if user 123 based on the user id number, then dont show box, else show box.
Tagdiv should be able to point you at right file with screen shot and some example code to try, when they get back in monday.
Hi,
My dev looked at the code and says that the problem comes from the script below. He said that when I right click, the script expects an element included in a form (select, input, textarea, password), if none of it is detected, nothing happens… Is there a way to take this script off?
Thanks
<script type=”text/javascript”>
/*<![CDATA[*/
document.oncontextmenu = function() {
return false;
};
document.onselectstart = function() {
if (event.srcElement.type != “text” && event.srcElement.type != “textarea” && event.srcElement.type != “password”) {
return false;
}
else {
return true;
}
};
if (window.sidebar) {
document.onmousedown = function(e) {
var obj = e.target;
if (obj.tagName.toUpperCase() == ‘SELECT’
|| obj.tagName.toUpperCase() == “INPUT”
|| obj.tagName.toUpperCase() == “TEXTAREA”
|| obj.tagName.toUpperCase() == “PASSWORD”) {
return true;
}
else {
return false;
}
};
}
document.ondragstart = function() {
return false;
};
/*]]>*/
</script>
Here I have the main Security Issue, Please tagDiv Help Me to Fix This Issue.
SiteLock Showing this Suspicious Content Warning.
Category:Suspicious Content Status:active
Page URL: https://www.example.com/wp-content/themes/Newsmag/js/td_site.min.js?ver=1.5
Note Info: External iframes found : about:blank found on sample pages ( https://www.example.com/wp-content/themes/Newsmag/js/td_site.min.js?ver=1.5 )
Description: We have detected iframes to external urls on your site. While there are legitimate uses for this, it is also commonly used by hackers to insert content into your page. We recommend you check the urls in this iframe and make sure they are a trusted source.
Action: Check the url to make sure it is something you recognize and are ok with some of your traffic being sent there. If you do not recognize it, remove the iframes and links throughout your website.
Hello, Emil!
Thank you for your help. I changed permalink format to http://www.mysite.com/sample-post/ and now everything works fine.
Thank you again!
Hello,
I have an earlier request that has to do with the background image.
Current we have the option to set GLOBLA bakcground image and I think a link
OR
You can set background image per category.
Is it possible for you to add the option to select
1. Background IMAGE & URL Global and ability to set background image & URL per category
2. Use custom code (like advert tags) and ability to set this GLOBAL and also per category
I am willing to pay for this additional option and you can make this available to all in an update as the current background image displays perfect, it displays the theme boxed as well and our advert tags does exactly the same when there is adverts set to display. Also if we can set it to collapse if no adverts displayed so not display boxed that would be awesome.
For this to work I would imagine a select option ENABLE CUSTOM CODE AS BACKGROUND and then a CUSTOM CODE field both of these per category and in global option.
Thank you in advance!