Search Results for 'header manager'

Results from the Forum
Olya
Participant
#0

Hello! I need to insert the script into the header via the file Manager. But I can’t find him either. tell me where it is

mdbadiruddin
Participant
#0

Sir,
I Test My Site (https://www.solutioninhindi.com/) Speed Test With
https://developers.google.com/speed/pagespeed/insights/”
Then Show me lots of Optimization error. I Provide you Optimization Suggestions Link then you can easily understand

Optimization Suggestions

Remove render-blocking JavaScript:

https://www.solutioninhindi.com/…-includes/js/jquery/jquery.js?ver=1.12.4
https://www.solutioninhindi.com/…s/jquery/jquery-migrate.min.js?ver=1.4.1

Optimize CSS Delivery of the following:

https://www.solutioninhindi.com/…form-7/includes/css/styles.css?ver=5.0.4
https://www.solutioninhindi.com/…lugins/td-newsletter/style.css?ver=4.9.8
https://www.solutioninhindi.com/…css?ver=72ece2de773553959e5098a544851753
https://fonts.googleapis.com/…%2C500%2C500italic%2C700%2C900&ver=9.0.1
https://www.solutioninhindi.com/…ent/themes/Newspaper/style.css?ver=9.0.1
https://www.solutioninhindi.com/…css?ver=dc11e23cd0219f30e55307de07f135fc

Enable compression
Compressing resources with gzip or deflate can reduce the number of bytes sent over the network.
Enable compression for the following resources to reduce their transfer size by 1.4MiB (85% reduction).

Compressing https://www.solutioninhindi.com/…ent/themes/Newspaper/style.css?ver=9.0.1 could save 1,014.3KiB (89% reduction).
Compressing https://www.solutioninhindi.com/…wspaper/js/tagdiv_theme.min.js?ver=9.0.1 could save 155.7KiB (76% reduction).
Compressing https://www.solutioninhindi.com/…-includes/js/jquery/jquery.js?ver=1.12.4 could save 61.9KiB (65% reduction).
Compressing https://www.solutioninhindi.com/…css?ver=72ece2de773553959e5098a544851753 could save 59.1KiB (86% reduction).
Compressing https://www.solutioninhindi.com/…css?ver=dc11e23cd0219f30e55307de07f135fc could save 55.9KiB (87% reduction).
Compressing https://www.solutioninhindi.com/ could save 55.5KiB (79% reduction).
Compressing https://www.solutioninhindi.com/…-form-7/includes/js/scripts.js?ver=5.0.4 could save 10.4KiB (72% reduction).

Leverage browser caching
Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously downloaded resources from local disk rather than over the network.
Leverage browser caching for the following cacheable resources:

https://solutioninhindi.com/…ads/2018/09/Solutioninhindi-logo-140.png (expiration not specified)
https://solutioninhindi.com/…ads/2018/09/Solutioninhindi-logo-272.png (expiration not specified)
https://solutioninhindi.com/…ads/2018/09/Solutioninhindi-logo-280.png (expiration not specified)
https://solutioninhindi.com/…8/09/Solutioninhindi-logo-544-300×53.png (expiration not specified)
https://www.solutioninhindi.com/…Newspaper/images/no-thumb/td_218x150.png (expiration not specified)
https://www.solutioninhindi.com/…/Newspaper/images/sprite/elements@2x.png (expiration not specified)
https://www.solutioninhindi.com/…th-Se-Android-Mobile-Hack-Kaise-Kare.png (expiration not specified)
https://www.solutioninhindi.com/…ge-custom-url-set-kaise-kare-768×417.jpg (expiration not specified)
https://www.solutioninhindi.com/…-2Bvideo-2Bkaise-2Bdale-2Bin-2Bhindi.jpg (expiration not specified)
https://www.solutioninhindi.com/…8/09/airtel-free-caller-tune-768×400.jpg (expiration not specified)
https://www.solutioninhindi.com/…o-2Bkaise-2Btode-2Bunlock-2Bkare.png.jpg (expiration not specified)
https://www.solutioninhindi.com/…2Bka-2Bpattern-2Block-2Bkaise-2Btode.jpg (expiration not specified)
https://www.googletagmanager.com/gtag/js?id=UA-109288917-2 (15 minutes)
https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js (60 minutes)
https://www.google-analytics.com/analytics.js (2 hours)

Minify CSS
Compacting CSS code can save many bytes of data and speed up download and parse times.
Minify CSS for the following resources to reduce their size by 214.5KiB (18% reduction).

Minifying https://www.solutioninhindi.com/…ent/themes/Newspaper/style.css?ver=9.0.1 could save 201.1KiB (18% reduction).
Minifying https://www.solutioninhindi.com/…css?ver=dc11e23cd0219f30e55307de07f135fc could save 13.4KiB (22% reduction).

Minify HTML
Compacting HTML code, including any inline JavaScript and CSS contained in it, can save many bytes of data and speed up download and parse times.
Minify HTML for the following resources to reduce their size by 13.7KiB (20% reduction).

Minifying https://www.solutioninhindi.com/ could save 13.7KiB (20% reduction).

Optimize images
Properly formatting and compressing images can save many bytes of data.
Optimize the following images to reduce their size by 227.9KiB (94% reduction).
Compressing and resizing https://www.solutioninhindi.com/…o-2Bkaise-2Btode-2Bunlock-2Bkare.png.jpg could save 60.1KiB (95% reduction).
Compressing and resizing https://www.solutioninhindi.com/…ge-custom-url-set-kaise-kare-768×417.jpg could save 51.4KiB (95% reduction).
Compressing and resizing https://www.solutioninhindi.com/…-2Bvideo-2Bkaise-2Bdale-2Bin-2Bhindi.jpg could save 43.9KiB (94% reduction).
Compressing and resizing https://www.solutioninhindi.com/…8/09/airtel-free-caller-tune-768×400.jpg could save 42.7KiB (94% reduction).
Compressing and resizing https://www.solutioninhindi.com/…2Bka-2Bpattern-2Block-2Bkaise-2Btode.jpg could save 29.8KiB (93% reduction).

Optimizations Already Present

Avoid landing page redirects
Your page has no redirects. Learn more about avoiding landing page redirects.
Minify JavaScript
Your JavaScript content is minified. Learn more about minifying JavaScript.

jalewa
Participant
#0

Hello Tagdiv Team,
In your theme as for ads section there are very few placement…. I want on post page after paragraph 2-3 ads…

1) I want to give condition to show ads after 3rd paragraph, after 6th paragraph and after 9th paragraph.
2) There is one header only… I want we to run header ads different on mobile and different on desktop so how I can manager that.
3) I want placement as above article, middle article, below article and above footer.

*** I want the option as for setting same placement differently for mobile and desktop devices.

Please help me as soon as possible

reply

weselyon
tagDiv Member

I have added the file to the header without issues.

The instructions on google tag manager is to add a code in the <head> tag and another immediately after the opening tag <body>.

The issue re-occurs when I add the code to the body tag in line 23. https://www.screencast.com/t/leIn30u7O0T

  • This reply was modified 8 years by weselyon.
  • This reply was modified 8 years by weselyon.
weselyon
tagDiv Member

This problem has returned after I inserted the Google Tag Manager code in my Theme Header and Footer via the theme panel.

anangpal
Participant
#0

website pencopy.com

The following cacheable resources have a short freshness lifetime. Specify an expiration at least one week in the future for the following resources:

https://www.googletagmanager.com/gtag/js?id=UA-77563813-2
http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js
https://www.google-analytics.com/analytics.js
https://pagead2.googlesyndication.com/pub-config/r20160913/ca-pub-2477206161595107.js
http://fonts.googleapis.com/css?family=Open+San … %2C400%2C400italic%2C500%2C500italic%2C700%2C900

I already add as you page speed guide code:

# BEGIN Expire headers <ifModule mod_expires.c> ExpiresActive On ExpiresDefault “access plus 5 seconds” ExpiresByType image/x-icon “access plus 604800 seconds” ExpiresByType image/jpeg “access plus 604800 seconds” ExpiresByType image/png “access plus 604800 seconds” ExpiresByType image/gif “access plus 604800 seconds” ExpiresByType application/x-shockwave-flash “access plus 604800 seconds” ExpiresByType text/css “access plus 604800 seconds” ExpiresByType text/javascript “access plus 604800 seconds” ExpiresByType application/javascript “access plus 604800 seconds” ExpiresByType application/x-javascript “access plus 604800 seconds” #ExpiresByType text/html “access plus 600 seconds” #ExpiresByType application/xhtml+xml “access plus 600 seconds” </ifModule> # END Expire headers

suggest me what i have to do for it.

creativeteamcanada
Participant
#0

Can I add different banners to the header? For example, can I use different header banners for Home, Category Page, and Single Page?
If not, is this plugin Ads Pro Plugin, compatible with Newspaper Theme?
https://codecanyon.net/item/ads-pro-plugin-multipurpose-wordpress-advertising-manager/10275010

Thanks,
Andrea

nhatkymua
Participant
#0

Can you help me with this theme work on php 7.2?? Thanks you a lot.

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 7

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 14

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 21

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 28

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 35

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 42

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 49

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 56

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 63

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 70

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 77

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 84

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 91

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 98

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 105

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 112

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 119

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 126

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 133

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 140

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 147

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 154

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 161

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 168

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 175

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 182

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 189

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 195

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 202

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 209

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 216

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 222

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 228

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 234

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 240

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php on line 246

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/functions.php on line 64

Deprecated: Function create_function() is deprecated in /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/functions.php on line 69

Notice: Undefined offset: 1 in /usr/local/lsws/DEFAULT/html/wp-content/plugins/wordpress-seo-premium/admin/class-admin-asset-manager.php on line 69

Warning: Cannot modify header information – headers already sent by (output started at /usr/local/lsws/DEFAULT/html/wp-content/themes/Newspaper/includes/widgets/td_page_builder_widgets.php:126) in /usr/local/lsws/DEFAULT/html/wp-admin/includes/misc.php on line 1114

jdubwitdasht
Participant
#0

I am going to create a child theme and install the GTM snippet in the header.php. My question is, I noticed two header.php files in the Newspaper theme:

1. header.php
2. mobile/header.php

To ensure that the GTM snippet is globally placed site-wide for all devices (Mobile/Tablet/Desktop…) do I need to place the GTM snippet in both header.php files?

lilioligue
Participant
#0

Hello,

First of all I found the theme pretty awesome, congratulations on developing such a nice theme.

In order to add google tag managers codes in the header php do I need to do this on the child theme?

In case a child theme is necessary, can i use the plugin child theme configurator to clone the theme?

Also, the top menu won’t show on mobile version of the website, only on desktop version.

Thank you,

Lílian.

GideonLupine
tagDiv Member

I think you misunderstood my post.

I am NOT USING the plug-in.

I have stopped using the “Google Tag Manager for WordPress Plugin.”

Instead of using a plug-in, I want to install the Google Tag Manager manually. It operates similar to Google Analytics.

https://developers.google.com/tag-manager/quickstart

It is SECOND most installed feature of Google’s Analytic Tool Suite. Being so popular and widely used, I was hoping there would already be a set and proven method to install with your theme.

For many, not using Google Tag Manager is not an option. It must be installed.

I was asking for the best method of modifying the CHILD THEME to added the needed Google Tag Manager Code Snippets.

It has these two requirements:
1. Paste some GTM code as high in the <head> of the page as possible.
2. Additionally, paste addtional GTM code immediately after the opening <body> tag

With that said, you are saying I should copy header.php to the child theme, and modify it there? Is that correct? Is that the best method? Is there another approach?

DotheReggae
tagDiv Member

Thanks Bogdan but with this script dont work, not appear any image…
We are having problems with Simple Ads Manager only with Header Ads, this is the reason of try this other method.
Thanks

DotheReggae
tagDiv Member

We are using Simple Ads Manager also, and it works fine. When we put the shortcode in any page this work properly. If we put the shortcode in some Theme Ad Places trought Theme Panel work fine. There are a problem when we put this shortcode in Header Ad Space, when charge the page Ad first appear but then disappear instantaly. Only have this problem.

Do you know any solution?

Nano
tagDiv Member

While searching on various other threads on the same topic, I noticed that there are ways to hide ads from the specific page using following code:


.postid-147 .td-a-rec, .postid-147 .td-g-rec{
display:none;
}

The result is here -> http://screencast.com/t/tz610oCpC

Notice : the .td-g-rec class is only for a Google Adsense AD and .td-a-rec for other ads.

Though, it is also discussed that to hide Adsense ads might go against Google’s policy. So, its better not to hide the ad but to stop ad placeholder from loading.

Bogdan was discussing something similar on how to remove ad placeholder from 404 pages on this thread: https://forum.tagdiv.com/topic/how-to-not-have-header-ads-on-certain-posts/#post-123574

Isn’t their any way to simply remove all ad placeholder from loading on any specific post? Please give a try to a solution for this.

You can very well notice that this issue is being faced by all of us, no matter whether they are aware of it or not.

I also noticed that many times, in other threads, it was advised to install any other plugins like Adrotate or QUAD.

I have a simple response on this. When we already have such a robust ad management system in-built in our theme, why should I use a new plugin for it? Shouldn’t we always try to keep numbers of plugins as low possible?

The ad-slots under TagDiv theme Ad manager is ( by default) built by taking Adsense into the consideration. Even Adsense examples are mentioned there, then why shouldn’t we try to improve its functionality rather than telling to use a new plugin?

I know that not everything can be integrated into a theme but if you do have such function. Please try to perfect it in future updates.

Just to give an example. There is a very popular theme on Themeforest called “BIMBER,” the developer didn’t want to work on ad section of the theme so, they collaborated with QUAD team and added the seamless ad-management system with this plugin.

But, since here we already have a very robust ad management option, we must try to make it fully worth of having it.

Hope you guys understand.

Love for TagDiv.

  • This reply was modified 9 years by Nano.
ctomlin
tagDiv Member

CHROME 56 HTTP WARNING NEWSPAPER THEME AND HOW TO FIX IT

All, here is a complete summary of the conversation in Google Webmaster Forums that you can use to help fix this error.

[Newspaper team, you should address this in your next release as this is a very bad user experience.]

Google is sending Newspaper theme owners a warning email that your HTTP website is collecting passwords or credit card information, EVEN IF YOU ARE NOT. Because of this, the new Chrome 56 version will warn users that your website is NOT secure!

It’s happening because of the way Newspaper keeps code on the page for the “Header > Top Bar > Show Sign In/Join” option in the theme settings, regardless of whether or not you’re even using the feature. if you look at your page source and search for “password” and “login” you’ll see what I mean, probably 40+ matches between those two terms.

If you are not using this feature you can fix the problem by editing the file /wp-content/themes/Newspaper/parts/header/td-login-modal.php and completely gutting it… this is all that’s left in that file now:

<?php

// removed due to google "Non-Secure Collection of Passwords will trigger warnings in Chrome 56"

?>

Everything still works perfectly but no more login/password code hiding in the source. Plus an added bonus of reducing page size :)The cause is hidden code in the NewsPaper theme that Google found that uses the words “password” and “credit card.”

INSTRUCTIONS: FOR HTTP WEBSITE NEWSPAPER THEME OWNERS. IF YOU ARE NOT COLLECTING ANY PASSWORD OR CREDIT CARD DATA YOU WILL HAVE TO EDIT THE FOLLOWING FILES OTHERWISE YOUR SITE WILL BE MARKED WITH A WARNING IN THE NEW VERSION OF CHROME!

Thanks to James Bassdrop in the Google forums the following fix works to remove the hidden code:

1. Access the following file via your website hosting File manager (I use BlueHost): /wp-content/themes/Newspaper/parts/header/td-login-modal.php

2. Delete all the code in this file and replace with the following:

<?php
// removed due to google "Non-Secure Collection of Passwords will trigger warnings in Chrome 56"
?>

3. Save the file.

4. Access the following file:

/wp-content/themes/Newspaper/includes/wp_booster/td_js_generator.php

5. Comment out these 3 lines near the top. Comment out means to place the two slashes as seen below in front of the lines with a space between the slashes and the “td…”:

// td_js_buffer::add_variable('td_email_user_pass_incorrect', __td('User or password incorrect!', TD_THEME_NAME));
// td_js_buffer::add_variable('td_email_user_incorrect', __td('Email or username incorrect!', TD_THEME_NAME));
// td_js_buffer::add_variable('td_email_incorrect', __td('Email incorrect!', TD_THEME_NAME));

6. Save the file.

NOTE: EACH TIME THE CORE NEWSPAPER THEME IS UPDATED YOU WILL HAVE TO MAKE THESE EDITS NEWSPAPER TEAM – A FIX WOULD BE AWESOME!

THANK YOU

cva183
tagDiv Member

Hi Bogdand,

Thanks for helping me 🙂

Problem is…I just dont get it.

So I did this:

Went to cpanel – file manager, edited header style 1. added this code right at the end.

<?php
if(is_home() || is_front_page()){
echo do_shortcode(‘[rev_slider alias=”fullsite-block-1″]’);
}
?>

saved.

Refreshed site – homepage is blank.

What am I doing wrong? This is so frustrating…

  • This reply was modified 9 years by cva183.
Simion C.
tagDiv Staff

Hi,

You must be using some kind of custom add manager that causes this, normally in Header style 9 – https://forum.tagdiv.com/header-styles/ the header add is located beneath the menu, but you could change it’s location (assuming you have a header add code placed in Theme panel->Ads->Header add) by modifying header-style-9.php from the the theme files like this – http://screencast.com/t/8GMPckXe335D

Example with add between top bar and logo – http://screencast.com/t/IHTw92Sm9MN the code looks like this – http://screencast.com/t/tXEaT2ljGO4F
Example with add between logo and header menu – http://screencast.com/t/keEBZQX0J4jO the code looks like this – http://screencast.com/t/JaNTkBda8

Thanks

Vijay Kumar
Participant
#0

Hi guys I am Vijay Kumar. I am a SEO exper with over 5 years of experience. Here on the I found some serious issues with the schema.org code, need to be modified.

  • http://bit.ly/2gPK3cM
    here at the URL you can see the breadcrumbs showing govtjobmela.com>>Home>>Job by Qualification>>10th

    But it should show like govtjobmela.com>>Job by qualification>>10th

  • Add the schema.org code for the theme for following objects.
    webpage, organization, comments, author, site navigation, blog posting, creative work, improve breadcrumbs schema, site search etc…
  • Add header,footer, body open and body close place holders in theme options panel so users can put some other analytics code in there EX:Google Tag manager codes

For now please make these improvements and I’ll let you know if anything need to be modified…
I am a big fan of Tag Div and News Paper theme. Hope you will update the theme

Thank You!

Walther
tagDiv Member

Hi,
I am using a plugin, the DFP – Doubleclick Ad Manager by Chris W. Gerber. It works well on two of my sites in body and sidebars, though not in the header (I am using a header style without ads so I don’t care). The import feature doesn’t work but I think only one line of code needs to be changed to make it work (seems to be a character in the beginning that is wrong). I added my ad slots manually, no problem.
I don’t know about resizing because I don’t use 728×90 on mobile.
BR, Walther

GideonLupine
Participant
#0

How would I place Google Translate into Newsmag somewhere in the top area for all pages and posts for desktop and mobile?

With mobile being very important. Most foreign visitors are over mobile

https://translate.google.com/manager/website/

I tried different things to get to fit in, but none of them worked.

It needs to be in the top so people can see it, and it needs to appear on every page.

aberniz
Participant
#0

Hi, I’ve been able to add the Linkedin button on the header of my posts, and now I want to add it also in the post bottom Share buttons.

https://projectmanagers.org/pressures-project-manager/

I only need to know in which file are these bottom Share buttons?

Catalin
tagDiv Staff

Hello themesic,

The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ … for another type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/
Also, if you want to paste your tag in the mobile version in the header section, you will have to check the header.php core file from the mobile section, like this -> http://screencast.com/t/kfBP1X4Ds

Thank you for your understanding!

reich90
Participant
#0

Hello,

I could use the help of our community with schema.org. I run clean SEO on my website and I realized that my site just not performs and got kicked out of the rankings. Since I am employed as a SEO Manager, I analyzed the schema.org codes and realized that the structure of the newsmag theme is not easy to understand.

I think this issues is really important for everybody who is using the theme. A good, clean (seo)-site struture is important in our time!

Basically I want to change:

header.php
index.php
single.php
page.php
footer.php
sidebar.php

Sounds simple at the beginning. So, my goal is that searchengines should understand our pages better.

This article has a simple instructions, but when I looked at our Theme … just stopped by.

This is the article: http://www.bloggingspell.com/add-schema-org-markup-wordpress/

Would be nice if somebody of you or ever theme-creator can help me and the unexperienced community to improve our rankings. I would like know where i can change the following items ->

Greetings from Germany

Editing header.php (Header Template)

Find:
<body <?php body_class(); ?>>
Replace with:

<body <?php body_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/WebPage”&gt;
Find:
<header id=”masthead” class=”site-header” role=”banner”>
Replace with:

<header id=”masthead” class=”site-header” itemscope=”itemscope” itemtype=”http://schema.org/WPHeader&#8221; role=”banner”>
Find:
<h1 class=”site-title”>
Replace with:

<h1 class=”site-title” itemprop=”headline”>
Find:
<h2 class=”site-description”>
Replace with:

<h2 class=”site-description” itemprop=”description”>
Find:
<nav id=”site-navigation” class=”main-navigation” role=”navigation”>
Replace with:

<nav id=”site-navigation” class=”main-navigation” itemscope=”itemscope” itemtype=”http://schema.org/SiteNavigationElement&#8221; role=”navigation”>

Editing index.php (Homepage Template)
Open up your theme index.php and edit these lines:

Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:

<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”&gt;
Find:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
Replace with:

<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/BlogPosting&#8221; itemprop=”blogPost”>
Find:
<h2 class=”entry-title”>
Replace with:

<h2 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-thumb”>
Replace with:

<div class=”entry-thumb” itemprop=”image”>
Find:
<time class=”entry-time published” datetime=”<?php the _time(‘c’); ?>>
Replace with:

<time class=”entry-time published” datetime=”<?php the _time(‘c’); ?>” itemprop=”datePublished”>
Find:
<span class=”author-link”>
Replace with:

<span class=”author-link” itemscope=”itemscope” itemtype=”http://schema.org/Person&#8221; itemprop=”author”>
Find:
<span class=”author vcard”>
Replace with:

<span class=”author vcard” itemprop=”name”>
Find:
<div class=”entry-summary”>
Replace with:

<div class=”entry-summary” itemprop=”text”>
Find:
<div class=”entry-content”>
Replace with:

<div class=”entry-content” itemprop=”text”>
Editing single.php (Post Template)

Open up your single.php and make these changes:

Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:

<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”&gt;
Find:
<h1 class=”entry-title”>
Replace with:

<h1 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-content”>
Replace with:

<div class=”entry-content” itemprop=”text”>
Find:
<time class=”posted-on published” datetime=”<?php the _time(‘c’); ?>>
Replace with:

<time class=”posted-on published” datetime=”<?php the _time(‘c’); ?>” itemprop=”datePublished”>
Find:
<span class=”author-link”>
Replace with:

<span class=”author-link” itemscope=”itemscope” itemtype=”http://schema.org/Person&#8221; itemprop=”author”>
Find:
<span class=”author vcard”>
Replace with:

<span class=”author vcard” itemprop=”name”>
Find:
<div class=”entry-thumb”>
Replace with:

<div class=”entry-thumb” itemprop=”image”>
Find:
<div class=”entry-content”>
Replace with:

<div class=”entry-content” itemprop=”text”>

Editing page.php (Page Template)
Open up your page.php and edit these lines:

Find:
<main id=”main” class=”site-main” role=”main”>
Replace with:

<main id=”main” class=”site-main” role=”main” itemprop=”mainContentOfPage” itemscope=”itemscope” itemtype=”http://schema.org/Blog”&gt;
Find:
<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?>>
Replace with:

<article id=”post-<?php the_ID(); ?>” <?php post_class(); ?> itemscope=”itemscope” itemtype=”http://schema.org/BlogPosting&#8221; itemprop=”blogPost”>
Find:
<h1 class=”entry-title”>
Replace with:

<h1 class=”entry-title” itemprop=”headline”>
Find:
<div class=”entry-content”>
Replace with:

<div class=”entry-content” itemprop=”text”>

Editing footer.php (Footer Template)
Open your footer.php and change these lines:

Find:
<footer id=”colophon” class=”site-footer” role=”contentinfo”>
Replace with:

<footer id=”colophon” class=”site-footer” role=”contentinfo” itemscope=”itemscope” itemtype=”http://schema.org/WPFooter”&gt;

Editing sidebar.php (Sidebar Template)
Open up your sitebar.php file and change this line:

Find:
<div id=”secondary” class=”widget-area” role=”complementary”>
Replace with:

<div id=”secondary” class=”widget-area” role=”complementary” itemscope=”itemscope” itemtype=”http://schema.org/WPSideBar”&gt;

Catalin
tagDiv Staff

Hello zunigafelipe,

The DoubleClick ads aren’t recognized by theme’s ad system and the code is rendered as it is. The theme only works using google Adsense ad codes: https://forum.tagdiv.com/ads/ … for another type of ads you can either use wp text widget or a plugin like Simple Ads Manager or AdRotate to render the code then use theme’s ad spots. For more references about this regard, you can consult this topic -> https://forum.tagdiv.com/topic/tutorial-responsive-ads-with-google-dfp/
Also, if you want to paste your tag in the mobile version in the header section, you will have to check the header.php core file from the mobile section, like this -> http://screencast.com/t/kfBP1X4Ds

Thank you for your understanding!

FarrahGillani
Participant
#0

Hello there,

I had an advert in my header using the theme panel – it had the format [uam_ad id=”17250″]. I was using the plugin Ultimate Adverts Manager and it was working perfectly. I just updated the plugin and the header has disappeared! I have contacted support with the plugin providers, but I was checking if there’s something the theme doesn’t support? Should I be putting an execute code instead?

Thanks in advance,

Farrah Gillani

Viewing 25 results - 1,401 through 1,425 (of 1,461 total)