- NewspaperWP Rocket and Newspaper Theme: Optimization Guide
- TutorialsFrom WPBakery to tagDiv Composer
- TutorialsDefault Block Settings Guide
- TutorialsHow to use custom fonts
No, unfortunately it’s not that easy. It is looking weird because the coauthors boxes are being returned by the Co Authors plugin(using it’s own markup and styling), while the Author box is being returned by the Newspaper Theme’s functions(using different markup and styling). They are not interchangeable.
However, you can choose to use one or the other system in the template.
In your td_module_1(or whatever one, not td_module_blog) you could try replacing $buffy .= $this->get_author_box(); with:
// Get an array of all the co-authors
$my_coauthors = get_coauthors();
// Count the indexes in the array
if(count($my_coauthors) > 1 ){
// There is more than 1 index in $my_coauthors, output all of them with the coauthor plugin function
$buffy .= get_coauthors();
} else {
// There is only one Author, let's output that one with the Theme function
$buffy .= $this->get_author_box();
}
If you want the output of the Co Author’s plugin to look like the output of the Newspaper Theme Author Box, then you have some css work to do.
i solved that problem in this post. https://forum.tagdiv.com/topic/can-i-add-plugins-css-to-footer/
WE ARE THE TAGDIVERS WE ARE THE BEST 😛
I worked to do that for 2 days. It was worth 🙂
Now the last problem is single post’s mobile pageinsight css files on header problem.
@radu please help for that and we will rock the google 🙂
OMG! This is exciting stuff, and hopefully you will get this all sorted as it would be great to make my life easier from a number of other hacks I’ve been doing. Bravo — keep updating on this!!! 🙂
Hahaha i did it finally, i have social sharing buttons with PageSpeed %100 🙂
the Radu’s suggestion is finally works i have write the css id wrong, i fixed it and it works.
Use WPSocialite plugin and add it to tag speed booster plugin for move footer 🙂 (you have to do the “When Scroll, Run js” from the plugins settings.)
@radu you have to sticky that post because every one have to solve that Social Sharing PageSpeed problem 🙂
Best Regards
you can check my pagespeed scores my website is
Edit: When i test it 10 mins before it is %100 for all mobile pages but now it is saying there is problem with different css in just mobile? where can i do it for mobiles too?
-
This reply was modified 12 years by
cagdas. Reason: mobile responsive problem
Most of the issues with social sharing are issues with the actual social media sites and their code which must be loaded by the theme to do things like “call” number of likes — that isn’t done by the theme. So, some things are impossible to “optimize” as they are not PageSpeed friendly. This also includes AdSense, ReCaptcha, YouTube, etc.
“the best social sharing codes” are those provided by each social media outlet with async loading; but the elements are still loading from that other site which you have zero control over.
For best PageSpeed you would need to use something like a single pill button from AddThis, or create locally hosted icon images which only “post” to the social media sites and have no interaction such as showing number of likes/shares — all that data coming from those sites like Twitter, FB, and G+ will cause PageSpeed issues.
Just some info on that. I’ve spent a ton of time on this issue and there is no perfect solution, unfortunately.
Hi Marius,
I put this code at the end of the file menu-header.php :
<div>
<?php
// show the header ad spot
echo td_global_blocks::get_instance(‘td_ad_box’)->render(array(‘spot_id’ => ‘header’));
?>
</div>
But the ad isn’t placed correctly, pleaselook at this screenshot : http://www.guide-du-chien.com/wp-content/uploads/2014/02/ad-placement.jpg
I can i do with css to place it correctly ? I would like to center it and to make space about 15px between top and bottom ?
Thanks a lot
hi,
would it be possible add other javascripts to the SpeedBooster plugin? In this particular case the javascript file from Bitly and css from AddThis.
I did like you said but still pageinsight analyze is saying that .css file is working before content 🙁
you can check it here
why don’t you use the best social sharing codes in the Newspaper, i am sorry because i have to find plugins solve for that. please optimize the social sharing codes in newspaper and save us 🙁
Hi,
yes you can. The plugin also moves jquery and all the dependent files in the footer. It also activates the js buffer from Newspaper to capture all the js and output it at the end of the document after jQuery.
Use the console from chrome or firefox to see if the new plugin has errors due to jQuery at the footer. If it’s a well made plugin it will work.
You can find the css id of the plugin if you hit view source and search for it: http://screencast.com/t/xJukVynQpa (for bbpress for ex.)
Radu O.
Hi,
you can try this code (add it via themepanel -> css). It will make the logo a bit bigger. I cannot move it in the same line with the buttons :|. If you want to adjust it’s size play with the 142% value (for size) and -20% (for centering)
/* responsive phone */
@media (max-width: 767px) {
.td-logo {
max-width: 142%;
position: relative;
left: -20%;
}
}
Hope this is ok,
Radu O.
Sorry about that! Actually in 3.0.1 I messed up again. If you can replace in style.css newspaper with Newspaper it will work.
When I’ve tested it on windows it worked with n instead of N but on linux hosting it will fail.
Hello,
Yes, that is the correct CSS or this:
If you have V 3.x you can add it in the CSS section in Theme Panel http://screencast.com/t/9GkLYXCODQqR
.menu-footer-container {
display: none;
}
Hello,
Change like here: http://screencast.com/t/KPt5RLTUcPQk
Thanks!
Hello,
Do you want to remove the header title from category pages?
You can hide that with a CSS, add it in the CSS panel
.category header {
display:none;
}
.category .td-category {
display:none;
}
.category .entry-content {
display:none;
}
Thanks!
Hello,
We will fix this in the next update, until that you can add this in CSS panel section
@media (min-width: 1200px) {
.iosSlider-col-2, .iosSlider-col-2 .item {
height: 321px !important;
}
}
.iosSlider-col-1, .iosSlider-col-1 .item {
height: 320px !important;
}
@media (min-width: 1200px) {
.iosSlider-col-1, .iosSlider-col-1 .item {
height: 318px !important;
}
}
@media (min-width: 768px) and (max-width: 1018px) {
.iosSlider-col-1, .iosSlider-col-1 .item {
height: 240px !important;
}
}
Thanks for the message!
hi,
thank you for your print screens:
you cannot add echo, we optimized the file for speed using $buffy.
what i don’t see in the print screens : where do you add the ‘labels’? or the labels
are automatically added when you get the data?
give me the link to the page, maybe we can do something from css
i see that you addet `
$buffy .= ‘<div>’;
$buffy .= get_post_meta_ ……..
$buffy .= ‘<div>’;
`
add a class to all the: $buffy .= '<div>';
like: http://screencast.com/t/hlHbBQmR4uS
maybe we can attach some style using that class
Thanks for you message.
Radu A.
Hello,
Ups, sorry, when you have changed to 1-5 point, I forgot to tell you how to make the stars to, change here: http://screencast.com/t/2bdNBa2gZw to fix the star.
Do you still need to remove them from homepage, if now will work correctly?
To remove that, please add this in CSS panel.
.td-review-header {
display: none;
}
.td-review {
margin-top: 0px !important;
}
Thanks for the message!
Hello @kazantipman
Please can you give us your site URL to take a look. To adjust the logo for mobile you can modify here: http://screencast.com/t/Ui1OINySbJ in style.css
Thanks all for support!
Hello,
I’m glad you have solved the issue, also if you want to decrease this space http://screencast.com/t/CmWiKxnfJy you can use this css
.td_mod3 .item-details {
margin-left: 80px;
}
@media (min-width: 768px) and (max-width: 1018px) {
.td_mod3 .item-details {
margin-left: 80px;
}
}
Thanks for those beautiful words.
Have a nice day!
i found that in td-speed-booster/td-speed-booster.php i think that works for moving css to footer 🙂
//move styles
$this->move_style_to_footer('bbp-default-bbpress'); //bpress old
$this->move_style_to_footer('bbp-default'); //bpress
$this->move_style_to_footer('contact-form-7');
$this->move_style_to_footer('td-bootstrap');
$this->move_style_to_footer('td-theme');
$this->move_style_to_footer('google-font-rest');
$this->move_style_to_footer('woocommerce_frontend_styles');
can i add another plugins’ css files via tdspeedbooster?
Stefan
open Style.css in the newspaper-child
in Template, change it from 009 to Newspaper
Before
Template: 009
after
Template: newspaper
and it will 100% work 🙂
Hello, the update to 3.0.1 on the child theme to activate it loses the CSS style I can do to fix it?
Thank you!
I’ve tried to insert it in different places in the style.css. But nothing happens. Thanks for your help.
I’ve style problem like this:

Issue is usernames length, I guess. How can I fix this?