Were you ever able to integrate this into your theme. I would love to use this plugin but, like you said, conflicts with the unique articles.
Please let me know.
Thanks
If you’d like, I just figured out how to do this and I’d be happy to add it into your theme… Please contact me
…
Bogdan,
Thanks again! I found it but the implimentation doensn’t seem to be going well.. Could you let me know what I’m doing wrong?
Maybe this is a better question… Can I add any PHP inside the AdSense input boxes? This would simplify everything and remove the need to update code when the theme is updated.
Bodgan,
thank you for your reply. However, I’m looking for something a little more specific. Google has pretty strict guidlines on what can be displayed on the page containing the ads.
For example, I write a post containing something that violates google’s terms, I would like to add functionality to the theme to EASY switch on and off ads for that specific post.
Is this possible?
John
Bogdan,
thank you for the update. I appreciate the response but I was curious, do you know what would cause this? Conflicting function names, variables, ect???
Just figured out that another plugin is affecting it. I installed ultimate member – social login and no the meta boxes disappear… does anyone know why this is happening?
Thanks Bogdan. I have a very limited understanding of php and never have any trouble understanding what you’re talking about. As always, I appreciate the support!
Sorry for repeated post. Does anyone else have any idea how to add the content bottom ad into my child theme?
Bogdan,
Thanks for the quick reply. You’re support is second to none.
Would it be possible to insert the short ode into a smart list in my child theme so I don’t have to add it every time… Set it and forget it?
Great, it works perfect. Thank you!
Bordan,
Thank you, this is a completely acceptable work around. As always, I appreciate your time.
-John
As always, thank you for the detailed explanation and assistance with this. I’ll begin working on in later today and update the results.
Respectfully,
Jonathon
Normally people don’t update their posts but if anyone is having this error. It is likely due to whatever CDN you’re using. For example, Cloudflare offers an option for you to Auto Minify javascript, css, and html. To solve this problem, simple deactivate the Auto Minifying of Javascript under the speed tab.
Thank you BogDan for your help!
Best of luck.
Thanks Alin,
Is it possible to add these icons without the font awesome plugin? Could I host the icon locally and then add it to the css?
I have removed all plugins and external JS. I also reinstalled the theme and I’m still getting an error:
Uncaught TypeError: Cannot read property ‘init’ of undefined
/wp-content/themes/Newspaper/js/tagdiv_theme.min.js?ver=6.5.1:165
Just began messing with this and everything seems to be functioning BUT… I Added this to my css as stated above…
.td-social-stumbleupon {
background-color: #ff4e2e;
}
.td-social-stumbleupon .td-icon-stumbleupon {
font-size: 15px;
position: relative;
top: 2px;
left: 1px;
}
.td-social-reddit {
background-color: #7db3ef;
}
.td-social-reddit .td-icon-reddit {
font-size: 15px;
position: relative;
top: 2px;
left: 1px;
}
I added the following to td_module_single.php
<i class=”td-icon-stumbleupon”></i>
<i class=”td-icon-reddit”></i>
I must have missed something becuase I can click on a blank space and the link will share on reddit and stubleupon but the button does not appear on the page. Could someone help me out with this? Do I need to have an actual image for this … kinda lost.
Problem Solved. Thank you!
Seems I was missing the > after “data-show-screen-name=”false”
Correct should be: data-show-screen-name=”false”> <script>!functi
simple mistake. Thank for the assistance.
tagdiv forum is not allowing me to paste the code correctly. I apologize.
The code is working, it’s just displaying the follow button a bunch of times. What could cause that?
Emil,
Thank you for your response. However, it appears the forum did not insert my code correctly.
$buffy .= '<li class="td-classic-twitter">';
$buffy .= ' <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>';
$buffy .= '';
Bump
I’m not great with php/html but I found coding out the echo line broke the display of the site. However, I just changed the og: to og2 and everything is working fine.
I found it deep within the files.
newspaper > included > wp_booster > td_wp-booster_functions.php
Stephan,
I was experiencing the same thing. Newpaper theme automatically adds an og:image tag but for some reason facebook never recognized it(for me). I’m assuming removing it from the theme would fix the issue but I can’t seem to find it.
