- NewspapertagDiv Composer – Website Manager
- NewspapertagDiv Opt-In Builder – Emails
- NewspaperModules Builder in Newspaper Theme
- NewspaperWooCommerce: Happy “Add to Favorites!”
- TutorialsFrom WPBakery to tagDiv Composer
- NewspaperCloudflare (CDN)
Hi
You can add custom ads in post content using VC shortcodes like here: http://screencast.com/t/DNy1ey3Sw – http://screencast.com/t/jbShysbSslYW
Thanks for the message!
advert is the sidebar
can i not send screenshots
at the minute the homepage – http://www.eastmidlandsbusinesslink.co.uk/mag/ – uses template newsmag- has Tax Advice and the Social media links
its meant to have an ad above, and ad in the middle and an ad below
The Home link – http://www.eastmidlandsbusinesslink.co.uk/mag/news/ – it uses the template News – and that shows I’m guessing your social media stuff in Stay Connected, my ad and Make it Happen
Its the latest – V 6.3.2 – bought it the other day
that didnt work
What i am saying is the homepage – http://www.eastmidlandsbusinesslink.co.uk/mag/ – uses template newsmag – no ads show
but if you click on the Home button – taking you to http://www.eastmidlandsbusinesslink.co.uk/mag/news/ – it uses the template News – they do show
adding ‘– Select an ad spot –‘ => ”, has not worked
Have changed Pages> Homepage – Newsmag – Front Page and added the Ad Block a couple of times but not showing
There are some really detailed “how to move your wordpress site” tutorials online, which is way outside the scope of the theme, since it’s not theme specific.
FYI, I use “DUPLICATOR” plugin to seamlessly move from one location to another, including updating URLs such as change of domain name. Really works!
Hi ninjaray,
You can hide category tag and the date only for the IOS Slider using custom css in Theme Panel > Custom Css: http://screencast.com/t/KwZaHjnPyFQ6 This css code will e applied on your homepage, if you want to be applied on all pages(including category page) just remove .home class.
.home .iosSlider .slide-meta {
display: none;
}
Thanks!
Hi,
Do you have a problem with thumbnails or you really want to change the slider’s height?
If you thumbs are not fit in the slider’s container, please regenerate your thumbs – https://forum.tagdiv.com/using-the-theme-with-existing-content/
If you want to increase height, you have to change the thumb size in td_config.php file, these are the thumbs used by IOS Slider – http://screencast.com/t/WUpPywQqaD you will have to create a similar thumb with your specific size and use it in the slider module – http://screencast.com/t/0270faxp5e Also you need a custom css in Theme Panel > Custom Css to increase the container’s height – http://screencast.com/t/tCrX4C2l Don’t forget to regenerate thumbnails if make some changea in td_config.php file – https://forum.tagdiv.com/using-the-theme-with-existing-content/
.iosSlider-col-2 .td_module_slide, .td_block_slide .iosSlider-col-2 {
height: 500px !important;
}
I provided an example for 2 columns slider, if you don’t have basic experience I suggest to hire someone to do this for you, unfortunately we cannot provide any type of custom work at this time, sorry!
Thanks!
hi! you can check it at my site here –> http://hoops.ph
although it doesn’t open everytime. it only has error when the ads have videos.
this is the ad code located in the <body>
<!-- Zone Tag : Hoops Pilipinas Universal Tag -->
<script type="text/javascript">
innity_pub = "211a7a84d3d5ce4d80347da11e0c85ed";
innity_zone = "48268";
</script>
<script type="text/javascript" src="https://ssl-cdn.media.innity.net/lib/network.js"></script>
thanks!
Hello,
My site is not showing the classification of reviews on the Google search page.
Example of template:https://www.google.com.br/?gws_rd=ssl#q=http:%2F%2Fthemeforest.net%2Fitem%2Fnewspaper%2Ffull_screen_preview%2F5489609
Can someone help me?
Thank you!
Hi Lucian,
Thank you for taking the time to reply, as it’s not related to vital theme functions at a time when you must be very busy with new update hassles it’s much appreciated.
Many thanks
D
Hi,
You do have some insecure content warnings but none referees to google fonts: http://screencast.com/t/Tg6IXkdaDLPb and you shouldn’t get any notification like that because the latest theme version (6.3) has implemented ssl support for google fonts: http://screencast.com/t/gh8idaFK – http://screencast.com/t/DXQ6MOYDEW
Thanks
Here is my speed booster file
<?php
/*
Plugin Name: tagDiv Speed Booster
Plugin URI: http://tagdiv.com
Description: Speed booster for Newspaper 6 and Newsmag 1.x themes - It moves the styles and all the scripts of the theme to the bottom when needed. It activates internal theme optimizations for better speed and it adds async js .
Author: tagDiv
Version: 4.1
Author URI: http://tagdiv.com
*/
define('TD_SPEED_BOOSTER' , 'v4.1');
class td_speed_booster {
private $style_footer_queue = array(); // here we keep all the stylesheets IDs that we want to move to the footer
private $is_ie = false; // if the browser is detected as IE, treat it differently
// here we keep the theme information
private $td_theme_name = '';
private $td_theme_version = '';
private $td_deploy_mode = '';
private $allowed_plugins = array(
'bbpress/bbpress.php',
'contact-form-7/wp-contact-form-7.php',
'jetpack/jetpack.php',
'js_composer/js_composer.php',
'td-speed-booster/td-speed-booster.php',
'font-awesome-4-menus/n9m-font-awesome-4.php',
'wordpress-seo/wp-seo.php',
'wp-user-avatar/wp-user-avatar.php',
'td-social-counter/td-social-counter.php',
'wp-super-cache/wp-cache.php'
);
// this class is instantiated at the bottom of this page
function __construct() {
add_action('td_wp_booster_loaded', array($this, 'start_booster'));
}
/**
* everything starts from here
*/
function start_booster() {
// read the theme version and name if defined
if (defined('TD_THEME_VERSION') and defined('TD_THEME_NAME') and defined('TD_DEPLOY_MODE')) {
$this->td_theme_version = TD_THEME_VERSION;
$this->td_theme_name = TD_THEME_NAME;
$this->td_deploy_mode = TD_DEPLOY_MODE;
} else {
return;
}
// detect IE 8 9 10 11
if (
!empty($_SERVER['HTTP_USER_AGENT'])
and (preg_match('~MSIE|Internet Explorer~i', $_SERVER['HTTP_USER_AGENT']) or (strpos($_SERVER['HTTP_USER_AGENT'], 'Trident/7.0; rv:11.0') !== false))
) {
$this->is_ie = true;
}
// add hooks
add_action('wp_enqueue_scripts', array($this, 'css_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_enqueue_scripts', array($this, 'js_mover'), 1002); // 1002 priority - because visual composer has 1000 and we use 1001 in the wp010 theme
add_action('wp_footer', array($this, 'render_footer_styles'), 15);
// hide the body only on IE and Newspaper 6+
if (
$this->is_ie === false
and $this->td_theme_name == 'Newsmag'
) {
//add_action('wp_head', array($this, 'hide_body_inline_css'), 15);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* the two hooks are needed!
* @since 27.05.2015
*/
add_action('wp_print_styles', array($this, 'jetpack_mover'), 10);
add_action('wp_print_footer_scripts', array($this, 'jetpack_mover'), 10);
}
/**
* jetpack is 'special' - it has to be moved like this. It has now only one CSS
* @since 27.05.2015
*/
function jetpack_mover() {
$this->move_style_to_footer_queue('jetpack_css');
}
/**
* here we move the css
*/
function css_mover() {
if ($this->td_theme_name == 'Newsmag') {
// wp 011 - Newspaper 6
//$this->move_style_to_footer_queue('bbp-default-bbpress'); //bpress old
//$this->move_style_to_footer_queue('bbp-default'); //bpress
$this->move_style_to_footer_queue('google_font_open_sans');
$this->move_style_to_footer_queue('google_font_roboto');
$this->move_style_to_footer_queue('contact-form-7');
if ($this->is_ie === false) {
// move style.css theme style
//$this->move_style_to_footer_queue('js_composer_front');
//$this->move_style_to_footer_queue('td-theme'); //this is the main style of the theme. It's only moved on Newspaper 6!
}
}
//@todo test on newsmag
$this->move_style_to_footer_queue('woocommerce_frontend_styles'); //old woocommerce?
$this->move_style_to_footer_queue('woocommerce-layout');
$this->move_style_to_footer_queue('woocommerce-smallscreen');
$this->move_style_to_footer_queue('woocommerce-general');
$this->move_style_to_footer_queue('bp-legacy-css');
$this->move_style_to_footer_queue('td-theme');
$this->move_style_to_footer_queue('font-awesome-four');
//move revolution slider css
$this->move_style_to_footer_queue('rs-plugin-settings');
$this->move_style_to_footer_queue('genericons'); //still rev slider
}
/**
* move the js
*/
function js_mover() {
global $wp_scripts;
//detect revmin - revolution slider and do not move jquery, the plugin outputs raw js in the page!
if( !is_admin() and !isset($wp_scripts->registered['revmin'])){
if (is_ssl()) {
$td_protocol = 'https';
} else {
$td_protocol = 'http';
}
wp_deregister_script('jquery');
wp_register_script('jquery', ($td_protocol . '://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js'), true, '1.11.1', true);
wp_enqueue_script('jquery');
}
/**
* move javascript to footer
*/
$this->move_js_to_footer('themepunchtools');
$this->move_js_to_footer('td-site-min');
$this->move_js_to_footer('revmin');
$this->move_js_to_footer('archivesCW');
$this->move_js_to_footer('js_composer_front');
$this->move_style_to_footer_queue('archives-cal-classiclight');
//print_r($wp_scripts);
// replace comment-reply.min.js with inline version
}
/**
* here we render the footer styles
* the styles are already deregistered when you call @see move_style_to_footer_queue ($style_id)
*/
function render_footer_styles() {
//get the theme version for style
$current_theme_version = $this->td_theme_version;
//on demo mode, auto generate version hourly + day - so we get a fresh css hourly
if ($this->td_deploy_mode == 'demo') {
$current_theme_version = date('jG');
}
if (isset($this->style_footer_queue['td-theme'])) {
// whatever the order, make damn sure that our td-theme style is LAST - we remove it from the queue and add it again at the end
$td_theme_value = $this->style_footer_queue['td-theme'];
unset($this->style_footer_queue['td-theme']);
$this->style_footer_queue['td-theme'] = $td_theme_value;
}
// output the new styles
foreach ($this->style_footer_queue as $style_id => $style_src) {
echo "<link rel='stylesheet' id='" . $style_id . "-css' href='" . $style_src . "?ver=" . $current_theme_version . "' type='text/css' media='all' />\n";
}
}
/**
* prevent flickering of the image until the style is loaded
*/
function hide_body_inline_css() {
echo '<style>body {visibility:hidden;}</style>';
}
/**
* the id of the style can be found in the source of the page, for example:
* <link rel='stylesheet' id='td-theme-css' => the id is 'td-theme' (note that the '-css' part is missing)
* using this method you can move other styles if needed
* Moves a style to the bottom of the page
* @param $style_id string - the id of the style
*/
function move_style_to_footer_queue($style_id) {
global $wp_styles;
if (!empty($wp_styles->registered[$style_id]) and !empty($wp_styles->registered[$style_id]->src)) {
$this->style_footer_queue[$style_id] = $wp_styles->registered[$style_id]->src;
wp_deregister_style($style_id);
}
}
/**
* @param $js_id string - the js file id (this is a bit more complex to get) @todo -> add a tutorial about how to get the theme js
*/
function move_js_to_footer($js_id) {
global $wp_scripts;
if (isset($wp_scripts->registered[$js_id])) {
wp_enqueue_script($js_id, ($wp_scripts->registered[$js_id]->src), '', $wp_scripts->registered[$js_id]->ver, true);
}
}
}
new td_speed_booster();
and here is registered scripts
registered scripts
archivesCW | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/jquery.archivesCW.min.js
aspexi-facebook-like-box | http://www.domain.com/second/wp-content/plugins/aspexi-facebook-like-box/js/aflb.js
jquery | http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js
td-site-min | http://www.domain.com/second/wp-content/themes/Newsmag/js/tagdiv_theme.min.js
comment-reply | /wp-includes/js/comment-reply.min.js
registered styles
archives-cal-classiclight | http://www.domain.com/second/wp-content/plugins/archives-calendar-widget/themes/classiclight.css
awesome-weather | http://www.domain.com/second/wp-content/plugins/awesome-weather/awesome-weather.css
opensans-googlefont | https://fonts.googleapis.com/css?family=Open+Sans:400,300
google_font_roboto_cond | http://fonts.googleapis.com/css?family=Roboto+Condensed:300italic,400italic,700italic,400,300,700
google-fonts-style | http://fonts.googleapis.com/css?family=Open+Sans:400,700
js_composer_front | http://www.domain.com/second/wp-content/plugins/js_composer/assets/css/js_composer.css
td-theme | http://www.domain.com/second/wp-content/themes/Newsmag/style.css
td-theme-child | http://www.domain.com/second/wp-content/themes/Newsmag-child/style.css
I don’t know if this is a theme-related issue, or a adsense-related issue, but certain adsense ads which load script from http sources onto our https pages cause a severe disturbance in theme function.
The source of this issue is without a doubt on behalf of Adsense, which details full SSL support, see here:
https://support.google.com/adsense/answer/10528?hl=en
for their ads on SSL sites. Clearly, there’s an issue on the serving on non-https content, but there also seems to be a breaking of some theme element as well, which causes thousands of page errors to generate, as well as many images to not load, and the top of the page to disappear and constantly move to where the troubled ad is.
We’ve only just installed this theme, and are very unfamilar with it, so we appreciate there may be a great chance of user error on our end. I was just hoping perhaps you have some specific knowledge of this type of issue.
The issue can be seen at gravernews{dot}com on the sidebar ad.
It does not show a troublesome ad each pageload however, and sometimes requires multiple loads. It seems whenever the https indicator in the address bar indicates non-secure elements being loaded, that the break in theme function happens. And, haha, no this is not some crazy over-zealous attempt to garnish ad views.
Best Regards,
Zack
Hi,
You can take the category ID like this – http://screencast.com/t/2GZSeGZzW so you can filter by multiple categories – http://screencast.com/t/swIWiy1P and also you can set the ajax drop down filter – http://screencast.com/t/0QPAQdiSSl3U – http://screencast.com/t/Q6nO2UBgmzA
Thanks!
Mmmm sorry, I have tried all the things, but it still doesn’t work. Another idea?
php.ini configuration
Server software i Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1e-fips DAV/2 mod_bwlimited/1.4
PHP Version i 5.4.30
post_max_size i 64M – You cannot upload images, themes and plugins that have a size bigger than this value.
max_execution_time 180
max_input_vars 5000
SUHOSIN Installed False
WordPress and plugins
WP version i 4.2.2
WP multisite enabled i No
WP Language i en_US
WP Memory Limit 256 MB/request
WP_DEBUG False
Hi,
I use qTranslate X. Never tried WPMU but I read about it when I faced the same question as you. You said “either WPMU or creating a multi site” but if I recall correctly, WPMU works as a multi site management system. WPMU physically creates X entries per content (1 per language) while plugins like qtrans create only one with all languages inside [sorry this is wildly phrased]. Multi site is supposedly good for performance because having the content separated makes it easier to serve it, while qtransx has to slice the content and extract the desired language upon request. Cache can fix this. Multi site is supposedly worse regarding compatibility and content consistency. It depends on the kind of use your site gets, and whether your content will greatly vary across languages or will be just straight forward translation.
I started with qTranslate and then moved on to mqTranslate, which was deprecated in favor of qTranslate X some time after. It’s not perfect but it’s the only alternative to the multi site option of WPMU, I believe, and it works very well, for a free plugin at least. The plugin is actively being supported and developed which is nice. The only thing missing is native multi slug support (same post has different URLs, one per language) but there’s a plugin for that and they say they will incorporate it in the future.
qTransX can give you a bit of work if you use some “non-mainstream” plugins as these sometimes do not take multi language support into consideration. Many mainstream plugins work flawlessly and others have plugins to extend qtransx compatibility. For instance, I use these ones:
WPBakery Visual Composer & qTranslate-X
WordPress SEO & qTranslate-X
WooCommerce & qTranslate-X
qTranslate slug (for the language based URLs)
Some configurations can have a performance impact in cheap servers, but with a well configured cache it’s actually pretty solid. I run a shitty shared server (for the time being) with ease but I do not use features like browser-language detection and redirection, I use the simple “language in the url” option (example.com/en/ example.com/pt/ etc).
In the end I think it comes down to the degree of support needed. “Hands on” kind of persons might be better off with qTransX, otherwise it might be good to check out WPMU forums and documentation to see if they offer the support it usually comes with premium stuff.
Cheers!
FYI,
Yoast SEO has had numerous bugs, check the changelog sometime to see how many bugs they have had. My contention was simply that using Yoast SEO as a “comparator” to anything else related to bugs, is not a good metric.
So, you don’t need to debunk my statement, as it’s well known. Yoast has had numerous bugs which break the site, break other plugins, and major security flaws (where they finally hired a security firm to check them).
H1 is useful on home page; H2 also useful for topical elements such as section heads, but not so much for story heads ad they are ephemeral; meaning, they change daily, so they are not sticky and therefore not relevant to long-term, long-tail SERPS placement.
The “home page” is typically not “critical” for SEO, as you want your “post” to rank higher than your home page for a specific story, including the title and excerpt, so causing them to fight each other is un-wise.
I only speak as an SEO expert having been building websites since March 1995, and widely interviewed on SEO topics by Entrepreneur, PCWorld, Monster.com, etc. And we had a highly successful SEO business for 10 years with over 2 million #1 positions in Google and Yahoo for our clients. And, oh yeah, I have two Harvey Measurement Awards for “most responsive advertising,” and a design award from Apple Computer, Inc. for marketing campaigns for Apple retail products in California, and built Oprah Winfrey’s ecom solution for her “Begin with Love” video series; but what the hell do I know?
TagDiv does provide the tools to add H1 tags to any home page and it should be up to any theme user / site developer to manage their own SEO practices. It could be needlessly confusing to have a built in H1 element on the home page template as there is no default home page template technically, since the presumption is you would be “rolling your own.” So this would require yet another set of code to check if home page and insert something in header, have toggles for on/off, and remove code for those doing their own H1 placement as we have done with WP for 10 years now. Frankly if folks can’t be aware of SEO for their own site, they are generally not that worried about it — and these are often same folk not reading the WP codex to learn how to set permalinks, etc.
One might also argue it’s useful to inspect the demo of a theme before buying it, then using it, then posting numerous times how bad it is or buggy, vs. requesting possible changes politely?
These are just my thoughts, having used Newspaper for almost 2 years now, and have great traffic, great SEO, and placement in Google News, Bing News, and syndicated worldwide through major information systems like LexisNexis, etc.
But that’s just me. Your mileage, as in all things, will vary.
-
This reply was modified 11 years by
simchris.
Hi,
Like I said above if you want you can add alt text for each of your image or if you want to add it automatically like in your example you will need custom modifications. Any way I have also tested this and it should work fine – http://screencast.com/t/xFBhU58gssl9 – http://screencast.com/t/nwAFCVNk also for featured image the above solution works fine.
Thanks!
HI,
I have activated the child theme with newspaper theme.
Trying to comment out the top nav menu but changes are not being reflected.
My header style 1 file is in /witnesslive/parts/header/
I have cleared the cache as well.
Is there something else I need to do ?
Hi Guys,
Great theme but i was wondering a few things:
– I have made some contact forms on the page like: http://tijdvoorsport.nl/index.php/contact but cant get the sideborders deletede?
– Is it not possible to add a youtube channel in the youtube player instead of lossless movies each time? That would save me a lot of time!
– I have a logo with a with border but cant get it smaller in the menubar
– If i make a multisite of this page is it possible to add an article on 1 page and than it will automaticcaly add the article to another?
Thanx a lot!
Hi . please can you tell me wich is the file that generates
<!– JS generated by theme –>
<script>
jQuery(document).ready(function() {
jQuery(“#td_uid_2_559b77ba36e4e”).iosSlider({ snapToChildren: true,
desktopClickDrag: true,
keyboardControls: false,
responsiveSlideContainer: true,
responsiveSlides: true,
autoSlide: true,
autoSlideTimer: 5000,
infiniteSlider: true,
navPrevSelector: jQuery(“#td_uid_2_559b77ba36e4e .prevButton”),
navNextSelector: jQuery(“#td_uid_2_559b77ba36e4e .nextButton”)
,
onSliderLoaded : td_resize_normal_slide,
onSliderResize : td_resize_normal_slide_and_update
});
});
Hi,
You could try a plugin or a .htaccess redirect – https://www.sslshopper.com/apache-redirect-http-to-https.html
Thank you!
Hi, I want to Redirect HTTP To HTTPS without www On WordPress, But how to do this.
When i install SSL, do I need anything change to theme.
Hello,
I hope all is well with the Tagdiv Team.
Recently when doing a Firebug check I ran across this element that is being delivered unsecured. My entire site is secured with ssl, so this is puzzling. I hope you can help me figure out how to secure this element. Here is the link to it.
This is the message in Java Console – Google
Mixed Content: The page at ‘https://tribyoot.org/19831/yummy-anti-cancer-curry-tumeric-food/’ was loaded over HTTPS, but requested an insecure image ‘http://tribyoot.org/Tribyoot/wp-content/themes/Newspaper/images/header/elements-menu.png’. This content should also be served over HTTPS.
I looked at this image and it’s just an indexed color image, 91×2500 with a small “>” symbol in the middle.
http://tribyoot.org/Tribyoot/wp-content/themes/Newspaper/images/header/elements-menu.png
I hope you can help me find out what this is and how it can either be secured, ignored or eliminated.
Thanks.
Philip
Hi,
I see that you use version 4 of the theme, you will have to change the height(to your specific height) for your thumbs that are used on IOS Slider in functions.php – http://screencast.com/t/Ekbehu1X then regenerate your thumbnails using – https://forum.tagdiv.com/how-to-fix-strange-thumbnails/
Also you need to add this custom css for each screen size: http://screencast.com/t/DOTC37t5M
@media (min-width: 1200px) {
.iosSlider-col-2, .iosSlider-col-2 .item {
height: 500px !important;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.iosSlider-col-2, .iosSlider-col-2 .item {
height: 350px !important;
}
}
@media (max-width: 767px) {
.iosSlider-col-2, .iosSlider-col-2 .item {
height: 300px !important;
}
}
Thanks!