Search Results for 'other ads'

Results from the Forum
Sid
tagDiv Member

Thanks,
I’m facing another problem… In smart list 2 ads not showing in content page

SmartList 2 Post:
http://blogrope.com/top-10-best-free-responsive-wordpress-templates-2015/

Normal Post:
http://blogrope.com/maddie-the-dog-is-back-with-a-new-adventure/

I use smart list 2 now in every post, So please tell me how to enable ads on smartlist 2 ?

MrChill
Participant
#0

Just did a fresh install on my site, starting from scratch to avoid what may have been some security issues before. I’m making a concerted effort to secure and optimize the site before adding any content or doing any major customizations.

I’m using the guide here to try and improve page speed: https://forum.tagdiv.com/how-to-make-the-site-faster/

Under section 4. Remove render blocking css/js – using the TagDiv Speed Boosterplugin (Advanced Users) I’m running into some issues.

1. I’ve installed the Speed Booster plug-in and activated it.
2. I’ve copied and pasted the suggested code into very bottom of NewsMag’s functions.php file (there’s another functions.php that the guide is talking about, is there?) and saved.
3. I’ve copy/pasted the output at the top of the page into a text file, which reads:

registered scripts
common | /wp-admin/js/common.min.js
admin-bar | /wp-includes/js/admin-bar.min.js
wp-pointer | /wp-includes/js/wp-pointer.min.js
wordfenceAdminjs | http://madlymanly.com/wp-content/plugins/wordfence/js/tourTip.js
utils | /wp-includes/js/utils.min.js
svg-painter | /wp-admin/js/svg-painter.js
sucuriscan | http://madlymanly.com/wp-content/plugins/sucuri-scanner/inc/js/sucuriscan-scripts.js
wp-auth-check | /wp-includes/js/wp-auth-check.min.js
td_wp_admin | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin.js
td_wp_admin_color_picker | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_color_picker.js
td_wp_admin_panel | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_wp_admin_panel.js
td_edit_page | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/js/td_edit_page.js
thickbox | /wp-includes/js/thickbox/thickbox.js
registered styles
admin-bar | /wp-includes/css/admin-bar.min.css
wp-pointer | /wp-includes/css/wp-pointer.min.css
colors | 1
ie | /wp-admin/css/ie.min.css
sucuriscan | http://madlymanly.com/wp-content/plugins/sucuri-scanner/inc/css/sucuriscan-default-css.css
wp-auth-check | /wp-includes/css/wp-auth-check.min.css
google-font-ubuntu | http://fonts.googleapis.com/css?family=Ubuntu:300,400,500,700,300italic,400italic,500italic,700italic&subset=latin,cyrillic-ext,greek-ext,greek,latin-ext,cyrillic
td-wp-admin-td-panel-2 | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/css/wp-admin.css
wp-color-picker | /wp-admin/css/color-picker.min.css
thickbox | /wp-includes/js/thickbox/thickbox.css
wpalchemy-metabox | http://madlymanly.com/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/content-metaboxes/meta.css
jetpack-icons | http://madlymanly.com/wp-content/plugins/jetpack/css/jetpack-icons.min.css

4. Deleted the code from step 2, then saved.
5. Re-ran the Google Test and it spat out the following results:

Remove render-blocking JavaScript:

http://madlymanly.com/wp-includes/js/jquery/jquery.js?ver=1.11.2
http://madlymanly.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1

Optimize CSS Delivery of the following:

http://fonts.googleapis.com/css?family=Open+Sans%3A300%2C400%2C600%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.2.2
http://fonts.googleapis.com/css?family=Roboto+Condensed%3A300italic%2C400italic%2C700italic%2C400%2C300%2C700&subset=latin%2Ccyrillic-ext%2Cgreek-ext%2Cgreek%2Cvietnamese%2Clatin-ext%2Ccyrillic&ver=4.2.2
http://madlymanly.com/wp-content/plugins/js_composer/assets/css/js_composer.css?ver=4.4.4
http://madlymanly.com/wp-content/themes/Newsmag/style.css?ver=1.7.1

6. When I went back to output from what I did in step 3 above, I didn’t notice any corresponding file names for the issues that needed to be fixed. For instance, in the Google report, it suggests jquery files, but when you search the code section of step 3, I couldn’t find anything that said “jquery”. Same thing for css like “Roboto”.

I noticed in the code comments within the Booster plug-in that it looks like it is still being tested on NewsMag:

/**
* Move the style only on newspaper
* @todo move the style also on newsmag after we fix all the issues
*/

Thoughts? Thank you for the help!

simchris
tagDiv Member

You can change the file uploads folder by reading the documentation for WordPress .. of which there is much in their “codex” … some core things for WordPress can be editied in the wp-config.php file — the theme (again) does *not* control where images are uploaded.

See:
(note section on changing location of image directory)
https://codex.wordpress.org/Editing_wp-config.php#Moving_uploads_folder

default location
define( 'UPLOADS', 'blog/wp-content/uploads' );

change to something like /images
define( 'UPLOADS', 'blog/images' );

If you do *ANYTHING* else with images, like sub-sub folders, or other folders — this would generally ONLY be for images you want to drop into things like an ad widget or manually place into a post.

For example you could put your ads into /blog/ads/ and all your ad file graphics there, which are then used when placing manual ads.

If you want images to be assigned to a “featured” image — you need to
a) make sure images are in the uploads folder, whatever you call it
b) use a plugin to make WP see those images

Hope that provides further help.

I’ll be off support help for everybody here the next few weeks, so have a great month everybody!

-CS

LFLizmark
tagDiv Member

Hi, Lucian.

Thanks for replying to this topic. Can I send you my admin details to this email account contact@tagdiv.com? Or, is there another email where I can send the admin user and password? I can confirm you that the regeneration of thumbnails didin’t work. In the meantime, here’s the link to the blog.

http://lfstudio.com/blog/

As you can see, the images are not present on the homepage, but when I click on any article, they appear. What I want must be possible because looking closely to the images in the demo, they are located outside the UPLOADS directory, and that’s exactly what I want, being able to control the images in WordPress. Anyway, I think that this is a pretty good group here, and thanks to God, I will solve my problem with your help. Just confirm me the email to send you the details.

juncan347
Participant
#0

Hi:

I have read Chris’s insight and other comments by authors and implemented them in my site. However, my page speed is following

-google test 29/100 mobile and 35/100 desktop
-GTmatric 68% and YSlow 69%
-Pingdom 64/100

My wordpress: using WP super cache, APC, WP Optimize, TD-booster, implemented Chris header release code, and function code, the only thing I don’t have is an image-compressor, I do have about 20+ plugins including google map, WP ads pro, tweeter feed, instagrem feed

my server: demi-dedicated VPS 3GB ram SSH disk
Server setting: mod_deflate is active and gzip compression also. Also PHP code and MySQL queries are cached by xCache, and all our clients are on SSD disks.

My questions:
1) Anything that I did wrong?
2) Any other improvements I can get?
3) Any suggestion or tools I can implement?

Thanks a bunch

kingyatta
Participant
Header - topic
#0

I have not activated the Newsmag theme yet. Im trying to do a lot of the customizing before it goes live. So it leads me to my question. I need to separate my homepage header from the header used by all the other pages. How do I do this? I have an ad code from my ad network one needs to be used for my homepage and needs to placed in the header. The other code needs to be placed in all the other pages and post header. How do I created two different headers? I notice when you click the header.php it has no header code in it. Where do I find the header for the style Newsmag I want to use?

Lucian
tagDiv Staff

Hi,

The smartlists content isn’t supposed to show the ads as its handled different as in case the post’s content isn’t using smartlists so this this the right behavior.

You can use ad spot’s shortcodes to place ads inside smart lists content if you like. We also have this on our requests lists and we will consider trying another approach on this in future updates.

Thanks

simchris
tagDiv Member

Yes.. you need to change it to whatever YOUR data key happens to be for your existing counts.

Mine is “views” – yours might be something totally different based on whatever plugin you were using before. The theme plugin can’t “magically” figure out your reads from the past unless you were ALREADY counting those since day one or whenever.

So, typically if you were using a plugin there might be a data field (sometimes a custom field you can find at bottom of your post editing pages with other custom fields), and if the plugin was from Acme co, they might have made a data field like
acme_post_views

so, you would then need to update the theme file to tell it to READ and WRITE to that existing field (in my case it’s ‘views’ — for the theme if you have no other counter, it would now use the “post_views_count” — you will see this field in the custom fields at bottom of your posts when editing one).

SO, *you* need to figure out what your old data field is and put THAT field into the php file. 🙂

Lucian
tagDiv Staff

Hi,

Thanks Chris!

@rjohansen
As Chris also said here the theme settings are stored in your database and I’m not sure how those are affected there if you haven;t done anything to alter them, we didn’t have any other reports of this happening so please update the theme to the latest version as I’ve noticed you use theme’s version 4.5 while the latest is 4.6.3 so download the theme from themeforest: http://themeforest.net/downloads then use this update guide to and the FTP method to update the theme, make sure that you also empty caches, disable plugins then update the theme then update the theme’s plugins from the /plugins folder provided within theme’s files.

Make sure that you also create backup of your database and current theme/wordpress install: https://codex.wordpress.org/WordPress_Backups
Let us know if this happens again afterwards.

Thanks

simchris
tagDiv Member

Well, they kind of already have … on various threads.

Right now the *only* solution with Newsmag if you have this CPU spiral of doom is to use the shim plugin, and use VC as little as possible beyond the development portion of your home page. Make sure you have a lot of memory allocated to WordPress (at least 256MB from the wp-config.php file in addition to php.ini setting; you must do both!).

We started to see minor spikes once 4.4.2 came out. Prior to that zero issues. Right now we can use it, but anything later not so good. I can’t imagine if WP Bakery haven’t addressed this ins the 4.5x versions, that they still don’t “get it” and are not solving it — seems to be a “if 90% of people can use, the other 10% oh well …” which isn’t great.

Right now TagDiv is focused on (based on posts I’ve seen):
a) Newspaper 5 w/ features of Newsmag + better grid + new version of API.
b) Next Shim beta for use with Newsmag *and* Newspaper.
c) Newsmag 1.8 with bug fixes and minor updates/tweaks.
d) Dev work on possible alternative to using Visual Composer.

So — at the moment if your site dies with VC 4.42 immediately, then it’s clear you might need to go back one more iteration, and/or stick with 1.6 of Newsmag vs 1.71.

I have 2 sites still working with 1.6 and 4.42 without shim, and doing okay, but they are fairly low traffic sites. I have 3 sites on 1.71 with VC442 and the shim, and 2 of these are our larger main traffic sites which were killing MySQL in batches of every 10 minutes or so going from green to yellow to red, and back. Then CPU death.

Not sure any of that helps … not much TagDiv can do beyond the shim, and possibly providing earlier versions of VC to try for your system. Since they don’t develop VC, it’s not something they can “fix” for anybody beyond the reports they have provided to the Bakery folks as a developer/licensor in hopes of solution (and yet to see one).

Some theme devs are already leaving VC in favor of in house solutions or simpler things like Siteorigin builder (free/open source), etc. (( We’re using Page Builder by SiteOrigin with a lean WP home brew Bootstrap 3 theme for a client reporting system along with Advanced Custom Fields, and works well so far for that … )).

Anyway…. I’m sure TagDiv folk will have some reply, but likely not far different from the above rantings 🙂

Of course, it’s possible that the next version of Visual Composer will be better “optimized” …. frankly, I’m amazed they are not working with an example “DOA” server setup, reading the error logs, and trying to find what bit of code is causing the death spiral, and then FIXING it. But I’m behind on stuff for my own business, so can’t really point fingers on that 😉

Lucian
tagDiv Staff

Hi,

Please check the treads/guide below for more info on how to customize your site’s page speed and other matters regarding it:

* https://forum.tagdiv.com/topic/pagespeed/
* https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
* https://forum.tagdiv.com/page-speed-guide/

Thanks

faibol
tagDiv Member

“Sorry if that didn’t help.”

any help is appreciated, so thank you.

all ads are set to work on mobile, desktop etc. and the code is simply copied from adsense just like i did with the other ads which work. i tried different types of ads but none of them work with the article option… the ad simply doesn’t show (even after a few days)

here are all the current settings: http://postimg.org/image/infzt08xz/

is there a way for me to speak with a costumer support representative or is posting my problem on the forum the only option?

simchris
tagDiv Member

If you look through the recent threads here for Newspaper – often a good idea to know whassup with the theme — you might notice that they hope to have Newspaper 5 ready to go “really very soon now” … as in “almost done for real…”

And Newspaper 5 has the added features from Newsmag.

You cannot combine features from both themes any other way.

they have posted ‘teaser’ video here:
https://forum.tagdiv.com/topic/newspaper-5-3/

  • This reply was modified 11 years by simchris.
elvinf
tagDiv Member

Ok. Fixed it.

What had happened was when I asked how to prevent the logo from loading in the middle first then loads to the left I was told to edit the css file

Also you have to change the css code in style.css file as the default style is loading first and because of the cascading property of the css style appears the delay you have noticed. So try to remove this code – http://screencast.com/t/77pQNXhaN then clear cache and see if it works.
Please note that this change will affect also other headers so if you change the header style revert this change.

I didn’t want to change the original file so I copied the style.css over to the theme folder and made the change. What would be the correct way of changing this without changing the original file?

SAPeople
Participant
#0

Hi. I’d like to use shortcode for our background click ad. It is possible with the other Ads (in other sections) on the Newspaper Theme. Please let me know if and how this can be done (otherwise there seems to be no way to track the clicks on the background image). Thank you.

Emil G
tagDiv Staff

Hi,

1) and 2) The js was moved at the bottom – http://screencast.com/t/VOSuXqWz
The css is still at the top, maybe you added those lines in the wrong section, please provide the content of your speedbooster plugin file to take a look, use pastebin – http://pastebin.com/ – Even if you move all css and js at the bottom Google pagespeed test may still show the warning because you have too many resources on the page.

3)On leverage you have the google ads and other js which comes from external resourcess – http://screencast.com/t/tjIX5RnvVJqS , it has a leverage set but it’s considered too low by the pagespeed test, basically google penalizes you for using their ads for which you can’t set a higher leverage.

For css js minifications you have to use a plugin, the settings depend on the plugin used, some may give errors when you minify their css or js so basically you have to make some tests.

Also use a cache plugin, we recommended W3TC in the past but now we made some tests and WP Super Cache seems faster.

Thank you, Emil G.

Lucian
tagDiv Staff

Hi,

I believe that happens because the theme doesn’t do anything on adrotate plugin’s shortcode it just renders it. Theme’s ad spot custom sizes apply just to adsense ad codes so if you use other than an adsense code there the theme interprets it like this: http://screencast.com/t/XeJBowpQ so you need to configure that ad from adrotate or find another way.

Thanks

nikau
Participant
#0

We need to manually specify the AdSense Slot and Client. We are editing:

/wp-content/themes/Newsmag/includes/wp_booster/wp-admin/panel/td_panel_data_source.php

As follows:

But it does not apply instantly, even if we remove Cached files.

Any other place where we can change it to apply changes instantly?

Thanks 🙂

simchris
tagDiv Member

You can’t cache things hosted on other people’s websites.
So none of those things you mention can be cached.

Welcome to stupid Google PageSpeed Insights 😉

(They penalize you for their own sites in the “rating,” but not in the real world.)

I personally “tune” my sites, with the ads disabled.

dwarkapuria
Participant
#0

Hello

when i click on some link on website , ads are opening in other tab .

http://www.pagalparrot.com

please help

simchris
tagDiv Member

Also be aware there is no way to prevent people copying your content if it loads in a web browser; you can try to block some content being “scraped” — but this also means not having RSS feeds, and if Google can’t read the page, you will be doomed in SERPS. So, you obviously would want to “test” any such plugin and then in Google’s developer tools do the various “load as Google” to see HOW the bot sees your page — if Google can read it you should be fine; of course if Google’s bot can read the page so can others.

How extreme do you want to be ? Are you going to block archive.org ?

For many folks, having strong copyright notices, creative commons logo, and doing periodic searches online can help track down content pirates. There is nothing to stop somebody from rewriting your content, though. If you properly copyright your website (e.g., in the U.S. with the copyright office), you can file a DMCA complaint to have some pirates content removed from Google search results, which is huge deterrent obviously.

And of course, the biggest way to protect content is from a member site where people have to “log in” to view the story; perhaps having teaser for public, and members see the full site.

The ability to “protect” content is a bit of a myth. Disabling right-click doesn’t actually solve anything. For example, SnagIt can capture the full page as an image once it’s in the video buffer in the browser/on screen; Adobe Acrobat DC can capture an entire web page.

Not to scare you, just the facts after 20 years of doing web dev myself. Our company used to actually sell a content protection product called “Mindset Mprotect” for protecting images; and then IE added as “save page as HTML” feature which completely negated some of that. Remember again anything “rendered” in a web browser can be captured as it’s loaded into cache and/or “visible” on a remote device.

Rendering a page in FLASH has some protections, but then you lose most mobile users.

Upshot — be realistic in your goals on the “myth of content protection” with WordPress.

Lucian
tagDiv Staff

Hi,

This could happen due to various reasons, please go trough the adsense troubleshooter pasted below and contact your ad provider if you still can’t manage to make them work: https://support.google.com/adsense/answer/1208336?hl=en

You can also test your ad code using a WordPress text widget to place the ad into your page or sidebar, if your ad code works/was approved this widget should show you ads: http://screencast.com/t/Cv00hEmZhIvhttp://screencast.com/t/Yp3N6YnaHiqg

To minify theme’s js and to move the resources to the footer you can use theme’s speed booster plugin which enables and uses a minifyed version of js, for css you need to do it manually as compression it automatically could cause issues and its not recommended.

Also make sure that you go trough the treads/guide below for more info on how to customize your site’s page speed and other matters please follow and use all instructions provided in all this treads:
* https://forum.tagdiv.com/topic/pagespeed/
* https://forum.tagdiv.com/topic/tutorial-chriss-custom-optimizations-for-functions-php-etc/
* https://forum.tagdiv.com/page-speed-guide/

Thanks

Alin [tagDiv]
tagDiv Staff

Hi,


@Jeni
I cannot see the screenshot please provide more details. Like you can see above I tested this and it should work also for you. Please read also Lucian’s solution from other thread as you have also to use custom css (in Theme Panel > Custom Css) using meu item unique class to adjust the height of the image: http://screencast.com/t/Zxxzo6HOTlo7

Replace with you url and paste it to Navigation label: http://screencast.com/t/NVzzvP92M7
<img src="http://localhost/wordpress/wp-content/uploads/2015/05/Features-Icon-150x150.png">

Replace xxx with number of your menu item and paste it in Theme Panel > Custom Css:

.menu-item-xxx img{
height: 44px;
}

Hope this helps!

WakeUpCallProject
tagDiv Member

Hi Alin,
Thanks for your quick reply.

If I place the ad in “article bottom ad” it places it and the custom ad 1 above the ‘share’ and ‘tags’.

Placing it in the custom ad 1 on it’s own and editing the code is working best so far (http://www.tntreport.com/sweden-cuts-rates-below-zero-launches-qe/), but for some reason leaves a large gap from the ads to the bottom of it. Even if I edit the images to be smaller.

FYI, the same coding works fine on my other 2 sites (using different themes) for this ad, so am assuming the issue might be theme coding related.

What else can we try?

Here’s the CSS editing I did based on your recommendation:
http://www.tntreport.com/wp-content/uploads/2015/05/Screen-Shot-2015-05-19-at-8.40.59-pm.jpg

Also, do you know how I can remove the area where it says “NO COMMENTS Comments are closed.”?
As I will not be having comments in any of the articles on the site.

Thanks

modernmavens
tagDiv Member

Hi Alin,

Thank you so much for this!

2) Noted on the image size of 745×483. I thought it was 700px. My mistake. Sorry. I’ve input the code in Theme Panel > Custom CSS. Solve the thumbnail issue.
3) That explains it! I setup the sidebar widget in Homepage AND Widget so I was seeing double. I deleted those in Widget. I now know I should put a Widgetised Sidebar in the page content and setup my sidebar in Widget instead.
4) I’ve removed Adsense as it’s not appearing on the site. Others are fine.
5) Figured out the comment box issue yesterday. Thanks 🙂

Thanks again for the help!

Viewing 25 results - 3,976 through 4,000 (of 4,447 total)