- 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
- Apitd_api_top_bar_template::update_key
- Apitd_api_top_bar_template::update
- Apitd_api_top_bar_template::add
- ApiAPI – Top Bar Template – Introduction
- Apitd_api_single_template::update_key
- Apitd_api_single_template::update
- Apitd_api_single_template::add
- ApiAPI – Single Template – Introduction
- Apitd_api_footer_template::update_key
- Apitd_api_footer_template::update
- Apitd_api_footer_template::add
- ApiAPI – Footer Template – Introduction
- Apitd_api_smart_list::update_key
- Apitd_api_smart_list::update
- Apitd_api_smart_list::add
Greetings !
I have a problem with og meta tags. I’m using Yoast SEO plugin for open graph tags. right now there are two og:image tags in my article’s header. obviously one is from yoast plugin. since i’m using jetpack, i thought this is a complicit with jetpack plugin. I tried by disabling jetpack but the issue didnt solved. I disabled all the plugins one by one and tried to identify what cause the issue. I disabled all the plugins but problem remain the same.
Then I activate another theme and check. Believe me my problem was solved. Then I activated the theme back and problem occurred again. So its confirmed that the problem is with the theme. I have really no idea how to remove this other unwanted og:image tag from my theme.
Please help me to solve this issue. I want to keep only the one which yoast creates .
Thanks !
Screenshot:
http://asidisi.com/wp-content/uploads/2016/03/og-image.jpg
Site: http://asidisi.com
OMG! Brilliant! Thank you SO much! I never thought to use that because I thought it was for the header above the menu! You ROCK!!!!!!
Is there a way to get a bit of empty space above and below the ad?
Take care,
Bernadette
-
This reply was modified 10 years by
PowerSellingMom.
Hello,
If you want to use a full size logo, please use header styles 9 – 11 These headers do not re-size the logo and use it in it’s default size. If you want to use header style 1, and have a bigger l;ogo you need customization. You can follow this topic to see how to do it:
https://forum.tagdiv.com/topic/enlarge-logo/
Thank you!
Hey guys,
my google ads weren’t displayd on my page – f.e. the header ad. I pasted the code on the foreseen place – but no ad appears on the page.
What do I make wrong?
Thx for your answer
Greetings
Hi
I’ve checked your site and noticed that on homepage you’re using a row html to display the header ad: http://screencast.com/t/tDixG4XjBsT To have the ad displayed on all post/pages try using the theme header ad-spot from theme panel > ads: http://screencast.com/t/kDnmEa9F
Thanks!
Hi,
That is because you moved it from the header section. Everything you move from the default state will have consequences. You cannot adjust elements like that without compromise. If you want to control it again from the theme panel, you have to add the title back into the header. Or you can target it with css:
.single_template_9 .entry-title{
font-size: 32px;
line-height: 40px;
margin-top: 33px;
margin-bottom: 23px;
}
Add this code in the theme panel->custom css box and change the values to your preference.
Thank you!
Hello. I install newspaper theme and regularly getting error 500 when working in dashboard. And error 500 in posts.
And my dashboard works very slow. I use VPS hosting.
I use latest versions of this plugins:
- All In One SEO Pack
- Disqus Comment System
- Easy Social Share Buttons for WordPress
- FeedBurner FeedSmith
- Google XML Sitemaps
- Ninja Popups
- Russian Date (utf-8)
- RusToLat
- WordPress Database Backup
- WP Super Cache
- WP-Mail-SMTP
- WP-PageNavi
- WPBakery Visual Composer
In logs i see this:
[Wed Mar 02 01:29:37 2016] [warn] [client 31.31.203.70] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://fototips.ru/camera-test/obzor-obektiva-samyang-35mm-f1-4/
[Wed Mar 02 01:29:37 2016] [error] [client 31.31.203.70] Premature end of script headers: index.php, referer: http://fototips.ru/camera-test/obzor-obektiva-samyang-35mm-f1-4/
and this
[Tue Mar 01 22:50:39 2016] [error] [client] Premature end of script headers: admin-ajax.php, referer: http://site.ru/wp-admin/post.php?post=15692&action=edit
[Tue Mar 01 22:50:40 2016] [warn] [client] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
Help me please!
@Bogdan A quick Google search revealed other sites who are also affected by this issue: bit.ly/1OMOL3E
site 1: bit.ly/1T6wje8
site 2: bit.ly/1QpDOXT
The issue seems to be that Google is also indexing these files not only displaying the fatal errors to potential hackers, but also revealing the user’s cPanel username, which I think is a major security issue. Hackers all have to do now is to to guess/generate the password.
These are some of the fatal errors I have encountered when directly called some of the theme files:
Fatal error: Class ‘td_util’ not found in
Fatal error: Class ‘td_global’ not found in
Fatal error: Call to undefined function get_header() in
Fatal error: Call to undefined function have_posts() in
You can use site 2 to check for any further errors.
A quick fix in form of a code to be added to the theme’s function or index file would be highly appreciated to put this matter to rest.
Many Thanks
Great, will make effort to NEVER help you on the forum.
For others less temperamental reading this thread, note you cannot generally block theme parts with htaccess rules as the http pages load those parts, e.g., (get header.php has to be able to be loaded by the single.php file, so blocking access to theme files, would not allow the page to render… )
So, when somebody (hacker, bot) is looking to read your pages and “pieces,” it will generate an error, as those individual pieces are calling functions, which may not work without the enqueued files (meaning a function being loaded a part of the header, for a menu, will generate error without the footer js, not being loaded).
So, errors are generated by folks accessing your theme pieces directly.
The best solution is to learn to block the people doing this, by their IP or IP range for repeat abuse, which is how you stop errors being generated.
For savvy folk, some hosts may be able to setup a directive to ‘ignore’ certain errors and not log them. Setting proper file permissions on your WP files can help for some things, and setting up proper htaccess rules to protect the important stuff should be job one. Links I included show how to accomplish this.
Not part of the theme, so good to learn how all of the elements of WordPress work, how the web works, how error log works, and how to harden your site for things which matter. Remember only YOU can manage and secure your site — it’s not the job of the theme developer to do that.
Cheers to all and to all a good night 🙂
-
This reply was modified 10 years by
simchris.
Hello,
Thank you for the truly great theme. I would like to have a larger logo hopefully using Header style 1. I have read through the posts regarding this and am still having some issues.
This is what I have tried so far based on forum posts.
I have removed the container for the ad spot from the header-style-1 theme file so I can increase the size of the logo: http://screencast.com/t/BUYmlAB9I6v. From there I created a larger logo and uploaded it to adjust css positioning. However the larger logo continues to be resized to 300x95px retina and 300x75px standard.
I have also tired different header styles 10 and style 11 which use the full logo but it still resizes my logo to the previously mentioned dimensions.
Ideally i would like to use header style 1 with a larger logo and do away with or re-position the ad box. Any help would be very much appreciated.
Thank You.
Right, well anybody can access files for “any” theme — that is how WordPress works.
That is not theme specific. Anybody can probe /wp-content/themes/*
This is also why we change the name of our wp-content folder, and the theme folder name for the default bot probes.
But glad you’re on top of stuff like that and are blocking IPs attacking your theme folders.
So, anybody can probe:
wp-content/themes/*/header.php
it’s a common WP file.
SO, those kind of pings are not theme specific.
You will have these sort of pings regardless of the THEME you use, so not sure why you expect the theme author to help you lock down your site?
But luckily they are very nice around here, and might offer some suggestions.
But that’s really up to you, not TagDiv.
Oh well, best of luck. Some good resources on this topic on the web already. Very old common issue with ALL WP sites.
Hello, I managed to solve the problem, had to put this line in:
In WP administration, there is on left side menu choice Appearance> Editor. Open it and on the right side menu “Templates” click on Header (header.php. It will open header.php file in editor …
Now you just need to put this line:
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE8″>
behind a <head> tag on the top of the file, click on the button “Update file”
it worked!!!
thanks, best regards.
Hi,
Thanks. Right. I understand which headers to use but how are you getting the ad to show up centered under the menu?
Thanks!
Bernadette
Hy
Try this css: http://screencast.com/t/9j1E7lxtmcj
@media (max-width: 767px){
.td-main-menu-logo img {
right: auto!important;
}
.td-header-border #td-top-search {
display: none;
}
}
Thanks!
Thanks. I just need to keep only the Facebook and the Twitter icon for now in both the header and the footer social icons
Also please let me know where is the documentation on how to customize it for the most recent version
Hello carmene,
For more information about logo and retina logo recommendation size for each header style, please consult our documentation here -> https://forum.tagdiv.com/logo-favicon/
Unfortunately, I cannot access your website because I get 10001 error. It seems to be a problem with Cloudflare…try to check your hosting provider to fix this problem -> http://screencast.com/t/cYNOEktoXl If you are using a Text block for your Sidebar, you can set the text to be Justify directly from the editor, like this -> http://screencast.com/t/lPaLaQlrFqPn
If is not what you mean, please provide more details about your desired changes so I will be able to provide a more accurate response.
Thank you for the message!
Just a quick update. The error can be created by requesting any of the theme files i.e category.php, index.php, attachment.php, comments.php etc
Every single file within the theme when requested it shows fatal error message in different line, like the ones below:
Fatal error: Call to undefined function get_header() in
Fatal error: Class ‘td_util’ not found in
I hope you can help as soon as you can.
Thanks
Hi
I am getting a large number of hits on the 404.php and other files and for some reason it is returning this on different lines:
Fatal error: Class ‘td_global’ not found in /home/user/public_html/wp-content/themes/theme/404.php on line 6
These are the hackers requests:
“GET /wp-content/themes/NAME/apache-conf.php
“GET /wp-content/themes/NAME/wp-ajax.php
“GET /wp-content/themes/NAME/wp-ajax.php
“GET /wp-content/themes/NAME/system.php
“GET /wp-content/themes/NAME/system.php
“GET /wp-content/themes/NAME/thanks.php
“GET /wp-content/themes/NAME/thanks.php
“GET /wp-content/themes/NAME/mide.php
“GET /wp-content/themes/NAME/mide.php
“POST /wp-content/themes/NAME/header.php
“POST /wp-content/themes/NAME/header.php
“POST /wp-content/themes/NAME/functions.php?liu=qt&fukq=t&RNv=f
“POST /wp-content/themes/NAME/functions.php?liu=qt&fukq=t&RNv=f
“POST /wp-content/themes/NAME/footer.php
“POST /wp-content/themes/NAME/footer.php
“POST /index.php?liu=qt&fukq=t&RNv=f
“POST /index.php?liu=qt&fukq=t&RNv=f
“GET /wp-content/themes/NAME/author.php
“GET /wp-content/themes/NAME/author.php
“POST /wp-content/themes/NAME/archive.php
“POST /wp-content/themes/NAME/archive.php
“POST /wp-content/themes/NAME/404.php
“POST /wp-content/themes/NAME/404.php
“GET /wp-content/themes/NAME/404.php?pwd=1
“GET /wp-content/themes/NAME/404.php?pwd=1
same error on different lines: Fatal error: Class ‘td_global’ not found in
For now I had to delete the file completely until you advise with a solution.
PS: I am not using the theme’s default name, I have created my own, that might help find the cause of the issue.
I hope you can help ASAP.
Thanks
what is the recommended dimensions for the header and retina logo?
how to justify text in sidebar in about me and currently in?
When I try to install Visual Composer, it comes up with this message.
The plugin does not have a valid header.
Downloading install package from http://www.luxuryfocus.co.uk/wp-content/themes/Newspaper/includes/plugins/js_composer.zip…
Unpacking the package…
Installing the plugin…
Destination folder already exists. /home/hp3-linc1-nfs2-z/167/407167/user/htdocs/wp-content/plugins/js_composer/
Plugin install failed.
Any Ideas on how i can resolve this?
Thanks
Hello,
There could be a css that can make it fall under the header using a z-index property, but unfortunately we cannot tell if this is the case as we have not tested any video playlist plugins so we have no idea of the one you are using or it’s functionality. Please provide a link to your website so I can take a look and see if it can be adjusted with css. (If not, I cannot promise anything as plugin implementation is not covered by the theme support)
Thank you!
Hello,
You can check our documentation on the ad system.
There are header ads:https://forum.tagdiv.com/header-ad/
article ads: https://forum.tagdiv.com/article-ads/ …etc.
You will find all the information you need in our docs.
Let us know if you require any further assistance.
Thanks.
Thanks, I followed the plugin instruction, the video play list displays on the page, but the video player covers the header when you scrow up, which is not normal, I checked your video playlist, it goes under the play list, I feel the my plugin is not embedded, how can I embed it.
Hello Larshell,
I have tested on my side and indeed, in this case, the color black does not work for this kind of header (header style 6)->it is a mini bug in the theme. The result you should see here -> http://screencast.com/t/WgqILfmo
Please try to use this value for black color #222 because is the same and add it in Theme panel, like this -> http://screencast.com/t/drnvqEHn
Also, if you want to have another style for your main menu, you have to change the header style. For more information about kinds of header, please consult our documentation here -> https://forum.tagdiv.com/header-styles/
Hope this helps and let us know how it goes!
Thank you for the message!
Hi
The most easy way to display an ad under the main menu it’s by using a any header style between 5 and 10: http://screencast.com/t/jmxK4ym1 Here is the result when header style 5 it’s used: http://screencast.com/t/kgU5KpsgW6p
Let me know how it goes and if you need further assistance please let me know.
Thanks!