- TutorialsDefault Block Settings Guide
Sorry, i think i wasn’t quite clear with my previous post.
I didn’t set a background image and i’m not planning to. What i did was that i played with the header styles and colors in the theme menu and suddenly the whole site went to boxed layout.
Reseted the values of the colors and tried with all the header styles but i cant get back to full width navbar.
PHP message: WordPress database error Table ‘termmeta’ doesn’t exist for query SELECT term_id, meta_key, meta_value FROM termmeta WHERE term_id IN (1457,1397,1333,1438,497,524,494,495,496,1310) ORDER BY meta_id ASC made by require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/Newspaper/functions.php’), require_once(‘/themes/Newspaper/includes/wp_booster/td_wp_booster_functions.php’), require_once(‘/themes/Newspaper/includes/wp_booster/wp-admin/panel/panel_core/td_panel_generator.php’), td_panel_generator::init, get_terms, update_termmeta_cache, update_meta_cache” while reading response header from upstream, client: , server: , request: “POST /wp-admin/admin-ajax.php?td_theme_name=Newspaper&v=6.7 HTTP/1.1”, upstream: “fastcgi://
Query is not able to find a table in the database. How to fix this problem?
Hello,
The ad system in our website is based on these ad spots: http://screencast.com/t/WtlLvXZyp92U
You can read more about our ads here: https://forum.tagdiv.com/header-ad/
On pages you can use an ad box element from visual composer: http://screencast.com/t/v22dKUeF and then you will have to select one of the theme ad spots where you have the ad set: http://screencast.com/t/EtCsXXOzZJ
Thank you!
Hello TheRiz,
Please try the code below and place it in Theme panel->Custom CSS area.
The code is ->
@media (max-width: 767px){
.td-header-sp-top-menu {
text-align: center!important;
}
}
The result you should see here -> http://screencast.com/t/7rn1TdhUBvwF
Thank you for the message!
Hi,
With the code I provided your header will become exactly that size: http://screencast.com/t/ltYqxHtG
Please let us know if you need further assistance with this.
Thank you!
I finally found another post similar to what I wanted to do. You can use custom CSS to do this as follows:
Go to Newspaper -> Custom Code -> Custom CSS and insert something similar to this:
.td-header-style-9 .td-logo-wrap-full
{
background: url(“<your full path>/header-image.jpg”) no-repeat center;
background-size: 1075px 150px;
}
It scales well on all devices too. Hopefully this will help someone else.
So ok. I’ve been reading old posts recommendations but nobody posted a concrete solution.
I did not achieve it yet but i think i’m close.
The file that needs to be modified is this:
/wp-content/themes/Newsmag/parts/header/top-menu.php
I want to use this plugin:
https://wordpress.org/plugins/google-captcha/
Because it provides a method to work with custom login forms, like newsmag’s:
https://wordpress.org/support/topic/recaptcha-not-showing-in-custom-form?replies=2
So basically you add this on the right spot of top-menu.php:
<?php if( function_exists( 'gglcptch_display' ) ) { echo gglcptch_display(); } ; ?>
I’ve done it with mixed results:
On Firefox:
it shows up ONLY if you click login/join while the page is still loading, if you wait for the page to load completely and then click login/join then recapctha then it doesn’t show up.
On Internet explorer:
Same as firefox.
On CHROME:
The recaptcha doesn’t show up ever.
I’ve read around and i think the problem is AJAX and that captcha is loading inside a modal popup div.
So, is there a way to make this work? thank you!
Hi,
I noticed that when an ad is disabled for a device type, let say the header ad is disabled for Phones but enabled for Desktop and Tablet, the phone ad is still loading. Its not visible but the ad call is being made.
This falsely increases ad impressions for ads that shouldn’t be running. Can this be fixed?
I was looking at reporting and was wondering why an ad was still recording impressions when the ad was disabled in the theme panel. A quick look at inspect element and you can see the ad is still being called.
I don’t know how to put a home button with a little house on the left in my header menu. A home button so I can go back to the home page… Could you help me?
Social Icons are showing in Chinese or Asian characters
I have gone through all the suggestions previously posted in the forum
1) I have disabled all plugins (except visual composer)
2) I have modified the .htaccess file to include
<IfModule mod_headers.c>
Header add Access-Control-Allow-Origin “*”
</IfModule>
3) I have regenerated the font through https://icomoon.io/app
4) I have cleared the cache
….none of those have worked!
Please help!
http://www.ldsresources.net/activities-of-jesus-christs-last-week/
Hi!
This placed our logo in the menu row, that’s nice.
The problem now is that since we also have out logo in the header on the left side, it shows our logo dubble.
The logo is not supposed to show up in the menu row when the page is all scrolled up. It’s only supposed to turn up when you scrolled down far enough to not see the header anymore.
Kind Regards
Hey party people …!
Does anybody ’round these parts know a theme agnostic way to move the main WP style.css from the head to the foot, which WP doesn’t seem to want to do ?
Trying to figure out way to re-enqueue that to footer and having trouble finding a way to do so without some bozo claiming “you don’t want to do that …” when, YES, I do need to do that.
Or, how to un-enqueue it from header completely, and then manually add to footer.
Seems I’m in the minority of folks doing critical CSS front loading for speed.
Thanks in advance folks!
I am working with Newspaper for the first time. I am using Style 9 (Full logo on top) for a new website (http://www.gunnisonsockeyes.org). The logo works fine. Now I would really like to put a full width (980px) background image behind the logo. I tried to use a full size image as the “logo” but when it is rendered it is way too small. I want to it cover the full width of the header. I don’t see a background image option with Style 9. How can I do this?
Thanks in advance, Mark
Hello,
You will have to edit a few more containers for it including the logo container and ad container.
Try this css instead:
.td-header-style-1 .td-header-sp-logo img{
max-height: 45px!important;
}
.td-header-style-1 .td-header-sp-logo{
height:45px!important;
margin: 0px 28px 0px 28px!important;
}
.td-header-style-1 .td-header-sp-recs{
margin:0!important;
}
.td-header-rec-wrap{
min-height: 45px!important;
}
Thanks.
I have found the folder so deleted and reinstalled js_composer.zip in to /wp-content/themes/Newspaper/includes/plugins
But I still get the same error:
—-
Installing Plugin: Visual Composer
The plugin does not have a valid header.
Downloading install package from http://retail-inspiration.co.uk/wp-content/themes/Newspaper/includes/plugins/js_composer.zip…
Download failed. couldn’t connect to host
Return to tagDiv plugins panel
—-
I need a solution. I now have a template I have paid for but can not use because of Visual Composer not working.
Thanks in advance.
I’ve tried this feature
<div class="td-parallax-header">
<div class="td-read-down"><i class="td-icon-read-down"></i></div>
</div>
<?php
$featured_image_id = get_post_thumbnail_id($td_mod_single->post->ID);
$featured_image_info = td_util::attachment_get_full_info($featured_image_id, 'full');
echo '<div class="td-feat-image-caption">' . $featured_image_info['caption'] . '</div>';
?>
</div>
</div>
With this i’ve resolve the question.
Thanks
after updating my theme the rss does not work. Here is the code found in header.php
<title><?php wp_title(‘|’, true, ‘right’); ?></title>
<meta charset=”<?php bloginfo( ‘charset’ );?>” />
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″>
<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 */
?>
<body <?php body_class() ?> itemscope=”itemscope” itemtype=”<?php echo td_global::$http_or_https?>://schema.org/WebPage”>
<?php //this is closing in the footer.php file ?>
<?php /* scroll to top */?>
<div class=”td-scroll-up”><i class=”td-icon-menu-up”></i></div>
<div id=”td-outer-wrap”>
<div class=”td-transition-content-and-menu td-mobile-nav-wrap”>
<?php locate_template(‘parts/menu-mobile.php’, true);?>
</div>
<?php //this is closing in the footer.php file ?>
<div class=”td-transition-content-and-menu td-content-wrap”>
<?php
td_api_header_style::_helper_show_header();
do_action(‘td_wp_booster_after_header’); //used by unique articles
Hey guys, I’m working on adjusting the size of my top banner, but can’t get it to adjust sizes properly.
The option for changing the banner height wasn’t in the theme options, so I hopped into the wp editor.
I found exactly what I needed, but changing the height of the banner distorts the rest of the site!
I’m using the default header style. This is the change I made in the editor:
Before:
container
*/
.td-container {
width: 1068px;
margin-right: auto;
margin-left: auto;
}
/*After:
container
*/
.td-container {
width: 1068px;
height: 45px;
margin-right: auto;
margin-left: auto;
}
/*
My technique — manually adding a height, technically worked. The banner become the exact size I wanted it to be, but along with the change, my logo stopped appearing.
In short, is there an effective way to adjust the height (not only width) of the top banner? Just to be extra clear, I’m talking about the banner in “class=”td-banner-wrap-full td-logo-wrap-full”
Thanks!
Hi there! 😉
Newspaper shows a strange behavior regarding its startpage. If I change something within the theme panel/header section, for example changing the main menu from style 1 to style 10, changes will be saved for all pages – except for the startpage, where the style still remains on “style 1”. This also happened for a logo change I did this morning (the new logo appeared on the startpage after like 2 hours without laying my hands on it again).
Am I doing something wrong? Is this a known behavior?
Thanks!
Hello TheRiz,
Please try to use the code below to align the top bar menu. Also, please notice that is the same code for each page/post/category page and it is not a simple task to change the functionality to appear namely an option depending on what page you are and for achieving this involves custom work. If you want to display more levels in the theme and you are not aware to the steps in this regard, please consider hiring a freelancer/developer to help you because we cannot provide custom services at the moment, sorry!
The code is ->
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-sp-top-menu{
display:block!important;
}
.td-header-sp-top-widget{
display:none!important;
}
.td-header-sp-top-menu{
margin-right: auto;
margin-left: auto;
width: 100%;
}
}
The result you should see here -> http://screencast.com/t/SCZwEgXm
Thank you for your understanding!
Hello,
In this case you will have to switch the demo. That is the style loaded for the travel blog. If you do not want the travel demo and prefer the standard header style, you can switch the demo for the default one and create the travel homepage by following this topic: https://forum.tagdiv.com/topic/how-to-stop-top-header-image-from-stretching/
Hope this helps.
Thanks.
Hi
The theme dos not have an option to add a tracking code only for some specific posts. You could try a plugin with a similar functionality but I can’t make any recommendation in this regard as we didn’t tested any of these plugins with our theme and I can’t say hoe they will work.
Also you can try to modify the file corresponding with the post template used for the promotional posts and add the tracking code there. For example let’s say that you’re using post template 1 for these posts. In this case the file that must be edited is single_template_1.php You have to check where the tracking code must be added on the page. Usually should be added after in page’s header or in footer: http://screencast.com/t/BPiF5uuA8huS – http://screencast.com/t/IRtdqCzNt30
Ideally would be to choose a specific post template only for the promotional posts so the tracking code to apply only for these posts.
Hope this help.
Thanks!
Hi,
When I go to url:
WEBSITE/wp-content/themes/Newspaper/
it throws me an error:
“Fatal error: Call to undefined function get_header() in /home/xxx/domains/xxx/public_html/wp-content/themes/Newspaper/index.php on line 6”
How can i solve this problem?
I want to redirect to homepage or display a blank page.
@media (max-width: 767px){
.td-header-top-menu-full {
display:block!important;
}
.td-header-sp-top-menu{
display:block!important;
}
.td-header-sp-top-widget{
display:none!important;
}
}
Hi Catalin,
I have applied this code and my top menu appears on mobile. When the device is vertical – on the home page and posts, the menu is aligned left. On regular pages, it is aligned center which is preferable. On categories, it shows only the social.
Any way to apply CSS that would make the home page and posts have the centered menu? And also for categories to show the menu items instead of social?
site – comics2film.com
Inner page example – http://www.comics2film.com/comic-con-dates-schedule-locations-news/
Post example – http://www.comics2film.com/marvel/daredevil/daredevil-season-2-episode-7-semper-fidelis-review/
Thanks
Before I installed newsmag, I knew how to find the footer/header/etc code to edit but now I seem to can not find it… where can I go in the wp admin to find the footer code? It used to be under appearance..