- NewspaperHeader Builder
- NewspaperHeader ads
- NewspaperHeader styles
- 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
- NewspapertagDiv Cloud Library Plugin
- NewspapertagDiv Composer Tutorial
- NewspaperUsing the Theme Translations with WPML
- NewspaperInstagram in Newspaper WordPress Theme
- NewspaperWeather Shortcode
- NewspaperThe Mobile Theme
- NewspaperLogin – How to Enable User Registration
The sidebar ad has been added on my sidebar but now the header ad is duplicating on my sidebar. Please see http://www.atmmag.net/
I would appreciate your advice.
Hi,
Copy your header code ad in Sidebar ad http://screencast.com/t/7ZpCBRIgBqwR and add the ad widget in sidebar and choose Sidebar AD. http://screencast.com/t/pxIUpLZk
Thanks!
Yes, as noted in my original posts, we’re running Apache.
Nginx requires different syntax. Perhaps somebody else can help with that.
SO this means you need to work with your hosting provider to ensure proper expires headers, caching settings, etc., or ask them what file to edit for your particular hosting setup.
eg.
Nginx virtual host configuration file:
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 1y;
log_not_found off;
}
Thanks, it worked although my sidebar ad is not showing, instead my header ad is the one showing on my sidebar. I tried to drag the [taDiv] adbox widget to the desired sidebar but no luck. please see http://www.atmmag.net
Please advice
Hi,
Emil will investigate this ASAP.
Thanks for the message and sorry for the delay!
Hi Marius, did Emil have a look and if so what was the prognosis?
Thanks
Vince
No my Friend Radu , I love your theme , and there is no problem with your theme ,
all the story is :
the DW Question & Answer Plugin , for Q & S , I want Style integration with your theme to show sidebar of the Newspaper theme .
the instructions of told :
Step 2 Edit Content Wrapper files
Open up the landing page file of your theme (normally it’s page.php file in themes/[theme-name] folder) in notepad or any code editor, you can see this as a content wrapper of the webpage.
<header class="page-header">
<h1 class="page-title"><?php the_title(); ?></h1>
</header>
<div class="container-fluid">
<div class="entry-content">
<?php the_content(); ?>
<?php wp_link_pages( array( 'before' => '<div class="page-link"><span>' . __( 'Pages:', 'dw-simplex' ) . '</span>', 'after' => '</div>' ) ); ?>
</div>
</div>
Now, based on the content wrapper of the theme, let’s add some code to our content-start-wrapper.php file, for example here:
<?php if( is_page() ) { ?>
<header class="page-header">
<h1 class="page-title"><?php _e( 'Question & Answer', 'dw-simplex' ); ?></h1>
</header>
<?php } ?>
<div class="container-fluid">
<div class="entry-content">
so i want your advice for good Style_integration on your theme <
I don’t want my money back , I love your theme , thank you Radu
iha
Hi,
add this at the begining of the footer.php file:
<div class="container">
<div class="row">
<div class="span12">
<?php
// show the header ad spot
echo td_global_blocks::get_instance('td_ad_box')->render(array('spot_id' => 'custom_ad_1'));
?>
</div>
</div>
</div>
after this you can use the custom ad 1 spot to show footer ads. The ads may need a little bit of css to be better centered.
Radu O.
Hi,
the theme doesn’t supports that out of the box and it will have to be custom made. You can use envato studio for this: https://studio.envato.com/
Radu O.
Is there a way to have the logo and share buttons in the header for posts, like on Mashable?
For example:
Anyone else having trouble with the visual composer after the update to WP 3.9.1 with the above mentioned htaccess settings? It seems to be a problem in the compression code:
RewriteBase /
RewriteCond %{HTTP:Accept-Encoding} .*gzip.*
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule (.*)\.html$ $1\.html.gz [L]
RewriteRule (.*)\.htm$ $1\.htm.gz [L]
RewriteRule (.*)\.js$ $1\.js.gz [L]
RewriteRule (.*)\.css$ $1\.css.gz [L]
AddEncoding x-gzip .gz
ExpiresActive On
Header set Cache-Control “public”
ExpiresDefault A1209600
ExpiresByType text/javascript A300
ExpiresByType text/css A300
ExpiresByType image/gif A300
After I remove these lines it works perfectly again. But also brings my pagespeed score from 96 to 34 :/:/:/ wtf:(
Anyone a tip? Thanks in advance!
Hi,
New user. Just trying to get things set up, but can’t activate the theme.
After selecting the theme and clicking Activate, I’m getting this error in the log:
[Fri May 09 13:49:22 2014] [error] [client 100.0.51.210] PHP Fatal error: Call to undefined function of_get_option() in /nas/wp/www/staging/artc1209/wp-content/themes/Newspress/header.php on line 60, referer: http://artc1209.staging.wpengine.com/wp-admin/customize.php?theme=Newspress
The host is running WP 3.9.1 .
Any thoughts? Anything I can check?
Thanks,
Art
Hi there,
I have set up my site on my local server and had everything working perfectly. I then migrated several times with different methods but each time I have the same broken theme which is currently live: http://coconutoilpost.com
I have gone back to my development site and deactivated all the plugins which then broke mainly the home page. I then worked through and found the issue with your integration with WPBakery Visual Composer, all other plugins work on the development site. The issue was the same with wp 3.9 and with 3.9.1 – Theme version 3.8 – Media Bakery 4.1.2
The issues are:
1. When logged in the front page admin bar not showing
2. Drop down mega menu not working
3. Search bar not working
4. Bottom page related articles pop up not working.
5. Back forward navigation not working.
6. Category Background images not working.
Here we are with the error messages with All plugins turned off:
( ! ) Fatal error: Call to undefined function wpb_js_remove_wpautop() in /Users/Icon/Documents/Websites/coconutoilpost.dev/wp-content/themes/Newspaper/includes/shortcodes/td_text_with_title.php on line 30
Call Stack
# Time Memory Function Location
1 0.0093 310272 {main}( ) ../index.php:0
2 0.0131 313392 require( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-blog-header.php’ ) ../index.php:17
3 0.1704 21169656 require_once( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-includes/template-loader.php’ ) ../wp-blog-header.php:16
4 0.2031 21516928 include( ‘/Users/Icon/Documents/Websites/coconutoilpost.dev/wp-content/themes/Newspaper/page-homepage-blank.php’ ) ../template-loader.php:74
5 0.8090 25106152 the_content( ) ../page-homepage-blank.php:13
6 0.8091 25108296 apply_filters( ) ../post-template.php:211
7 0.8106 25112024 call_user_func_array ( ) ../plugin.php:192
8 0.8106 25112056 do_shortcode( ) ../plugin.php:192
9 0.8107 25113504 preg_replace_callback ( ) ../shortcodes.php:201
10 1.5932 29247360 do_shortcode_tag( ) ../shortcodes.php:201
11 1.5933 29247824 call_user_func ( ) ../shortcodes.php:287
12 1.5933 29247864 td_text_with_title->render( ) ../shortcodes.php:287
That’s all I can find at the moment. Hope all can be sorted out.
Many thanks
Peter
Hello, I have a few questions
Q1) I have set the code of the add at the header here: (http://es.tinypic.com/r/15y7sch/8) and in the google adsense options I establish the following size: 720×90. But as you can see here (http://es.tinypic.com/r/aviys5/8), the ad isn’t showing at maximum size. ¿How can I fix it?
Q2) Where can I modify the gap between H2/H3 and the paragraph? (http://es.tinypic.com/r/j61u8i/8)
Thanks
Thanks for the info and advice Marius.
Have a great day.
Philip
Well after days trying to find the issue with the other browers i found the culprit it had nothing to do with clouldflare are plugins it’s a little issue with the “SWITCH MENU ICONS COLOR” when i change that too white then my background and navigation header is messed up in the browers IE11 and Firefox,so to fixed my issue i have no choose to leave the “SWITCH MENU ICONS COLOR” to BLACK and now all browers is working as entended.
But thanks for your input but this topic can be closed now since i had to figure it out on my own with out any support what so ever from the support team.
That 404’s i think it have something to do with my slider but for now the speed booster is install so that’s not something i going worry about because i don’t get those 404’s when the speed booster is turn on.
thanks Marius – that’s perfect!
Andrew
Hi,
Ok, thanks
Emil will take a look.
So, (it is me again!), I’ve just downloaded a new version of WordPress and a new version of Newspaper and installed all the files on another host and the problem persists.
Fatal error: Class 'td_login' not found in /home/www/6fde89b0d807c62dba08ab2a8113d70a/web/wp-content/themes/Newspaper/includes/wp_booster/td_ajax.php on line 183
Here is what I have in my headers :
Remote Address:00.00.000.000:80
Request URL:http://www.mydomain.com/wp-admin/admin-ajax.php
Request Method:POST
Status Code:200 OK
Request Headersview source
Accept:*/*
Accept-Encoding:gzip,deflate,sdch
Accept-Language:fr-FR,fr;q=0.8,en-US;q=0.6,en;q=0.4
Connection:keep-alive
Content-Length:52
Content-Type:application/x-www-form-urlencoded; charset=UTF-8
Host:www.mydomain.com
Origin:http://www.mydomain.com
Referer:http://www.mydomain.com/
User-Agent:Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/34.0.1847.131 Safari/537.36
X-Requested-With:XMLHttpRequest
Form Dataview sourceview URL encoded
action:td_mod_login
email:johndoe
user:
pass:johndoe
Response Headersview source
Access-Control-Allow-Credentials:true
Access-Control-Allow-Origin:http://www.mydomain.com
Cache-Control:no-cache, must-revalidate, max-age=0
Connection:Keep-Alive
Content-Length:197
Content-Type:text/html; charset=UTF-8
Date:Tue, 06 May 2014 20:24:41 GMT
Expires:Wed, 11 Jan 1984 05:00:00 GMT
Keep-Alive:timeout=5
Pragma:no-cache
Server:Apache
X-Content-Type-Options:nosniff
X-Frame-Options:SAMEORIGIN
X-Robots-Tag:noindex
that worked thanks
Hi Marius,
I have just sent you an email with admin logins etc.
Thanks
Vince
Hi,
Is like that because the AD overlapping the top menu. Please remove that moving header: -24px and add this CSS in Theme panel -> Custom CSS
.td-a-rec-id-header {
top: 6px;
}
.header-logo-wrap > a {
display: block;
height: 100px;
}
.header-logo-wrap {
margin-top: 0px;
}
Hi,
Is like that because you use a logo at 90px in height, you need a logo at 100px at last.
To fix that you can use this CSS, add it in Theme panel -> Custom CSS
.header-logo-wrap img {
padding-top: 10px;
}
.header-logo-wrap a {
display: block;
height: 100px;
}
Thanks!
Hi,
The background is fine, you need to use a larger logo to make the header more bigger, we used there a logo at 600 x 200 px. Here is the logo that we used: http://demo.tagdiv.com/newspaper/bg_images/fashion-header.png
I don’t understand you question. The theme functionality is the same, no matter what style you use, fashion or cafe or anything else. If you mean to make a post as Featured, you need to add it in the Featured category.
Thanks!