- NewspaperSocial Sharing
- NewspaperSharing
- NewspaperDesign your post pages using the Default Templates
- NewspaperFacebook Share
Thanks for the reply Bodgan.
In effect, the problem was given by a plugin, today I deactivated all plugins outside the theme and have been activating them one by one.
The result has been a plugin that was creating conflict.
NextScripts: Auto-Poster Social Networks.
I disabled it and it has been solved.
The rest does not give any problem if it helps, I put that I use and have not given me problems are very common.
Akismet.
Contact Form 7.
Envato WordPress Toolkit.
File Browser.
Google Analytics by MonsterInsights.
Multiverso – Advanced File Sharing Plugin.
TinyMCE Advanced.
TinyMCE Spellcheck.
Ultimate Addons for Visual Composer.
UpdraftPlus – Backup/Restore.
WhatsApp Share Button.
WP Smush.
WP Super Cache.
WP Super Cache – Vaciar caché.
Yoast SEO.
Again, thanks for the prompt response and effective support to it is, in my opinion the best theme for WP News.
Been posting on my twitter profile and is not showing the images when i paste the url for example http://revistaladosis.com/gustavo-casas-lanza-verte-ya-video-animado/ , and looks like this 
What could be the problem? thanks!
Hello – I just noticed that when sharing a LIST on Facebook, the Facebook excerpt looks odd because it includes all the text at the top of the page like Category / Author / Share button text etc.
Is there a way to have Facebook pull the excerpt or even the first lines of text from the article?
To see this in action, please try sharing either of these lists on Facebook
http://demo.tagdiv.com/newspaper/smart-list-style-4/
http://radioink.com/2016/05/12/the-best-program-directors-in-america-2016/
Hi,
Try it like so:
The solution to the problem is to put the line of code from this link on top of the htaccess file. Literally put it on top, not inside the other lines of code, but just on top.
Not the whole thing or else it will screw up your webpage. Just this part: Header add Access-Control-Allow-Origin “*”
Make sure you copy from StackExchange so it copy and pastes correctly, because the htacess file is one of the most delicate parts of operation.
Thank you!
Hi there,
First of all, please accept my apologies all of these.
Please allow me to ask a few things about customization of the new Newspaper version 7.0.
1. Since I am doing some customization on my site and based on what I had read on the documentation and on your rules that any update of the Theme we should try again to re-implement the code for our customization, so I decided instead of doing that again and again is to add the Child Theme, that any update of the Theme still the customization of site will be there right? Please advise if this the best option? Hope it will.
2. (If Serial 1 is not the best option, leave this.) Please advise if this is correct to Add a Child Theme via FTP I will just add the Folder “Newspaper-child” located in /code folder? base on this Tutorial Link to add it under “wp-content/themes” right? by just dragging it via FTP? same on this Image Link.
3. Author Box Card replace it with USERPRO shortcode.
Filename:
/wp-content/themes/Newspaper/loop-single-12.php – this is my style number
ShortCode to add:
<?php echo do_shortcode('[userpro template=card user=author]');?>
Original String Structure:
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
Modified String Structure: Please advise if this is correct syntax code?
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo do_shortcode('[userpro template=card user=author]');?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
3.a. If I am using a Child Theme I just copy the Filename then create a directory structure path in the child theme as in the theme and paste the Filename based on this Tutorial Link aight?
4. Sign In/Join Desktop view popup version using USERPRO shortcode
Filename: wp-content/themes/Newspaper/parts/header/top-menu.php
ShortCode to add:
<div class="td-login-wrap">
' . do_shortcode('[userpro template=login]') . '
Original String Structure:
//<span class="td-sp-ico-logout"></span>
echo '<ul class="top-header-menu td_ul_logout">
<li class="menu-item">' .
get_avatar($current_user->ID, 20) . 'ID) . '" class="td_user_logd_in">' . $current_user->display_name . '' .
'
<li class="menu-item">
<i class="td-icon-logout"></i>' . __td('Logout', TD_THEME_NAME) . '
';
} else {
echo '<ul class="top-header-menu td_ul_login"><li class="menu-item">' . __td('Sign in / Join', TD_THEME_NAME) . '<span class="td-sp-ico-login td_sp_login_ico_style"></span>';
}
}//end login window
Modified String Structure:
Please advise how to add the correct syntax code.
4.a. Same on Serial 3.a. question.
5. Sign In/Join Mobile View using USERPRO shortcode
Filename:
Please advise where to modify it?
ShortCode to add:
Please advise the correct syntax code for this.
' . do_shortcode('[userpro template=login]') . '
Original String Structure:
Please advise where to modify it?
Modified String Structure:
Please advise how to add the correct syntax code.
5.a. Same on Serial 3.a. question.
6. FB Comments instead of WP comments
Filename:
wp-content/themes/Newspaper/header.php
wp-content/themes/Newspaper/loop-single-12.php
ShortCode to add:
header.php
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=XXXXXX”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
loop-single-12.php
<div class="fb-comments" data-href="<?php echo get_permalink($td_mod_single->post->ID); ?>" data-width="100%" data-numposts="5"></div>
Original String Structure:
header.php
</head>
<body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
<?php /* scroll to top */?>
<div class="td-scroll-up"><i class="td-icon-menu-up"></i></div>
<?php locate_template('parts/menu-mobile.php', true);?>
<?php locate_template('parts/search.php', true);?>
loop-single-12.php
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
<?php echo $td_mod_single->related_posts();?>
<?php
} else {
//no posts
echo td_page_generator::no_posts();
}
Modified String Structure: Please advise if this is the correct syntax code?
header.php
</head>
<body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=XXXXXX”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<?php /* scroll to top */?>
<div class="td-scroll-up"><i class="td-icon-menu-up"></i></div>
<?php locate_template('parts/menu-mobile.php', true);?>
<?php locate_template('parts/search.php', true);?>
loop-single-12.php
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
<div class="fb-comments" data-href="<?php echo get_permalink($td_mod_single->post->ID); ?>" data-width="100%" data-numposts="5"></div>
<?php echo $td_mod_single->related_posts();?>
<?php
} else {
//no posts
echo td_page_generator::no_posts();
}
6.a. Same on Serial 3.a. question.
7. If there is a new update of the Theme like for example: header.php as we added a Custom Code on version 6.x.x has 92 Lines + 2 Lines on our Custom Code both on Main Theme and Child Theme then a new update came version 7.0 header.php has 98 Lines, since our Child Theme had originally 92 Lines, are we going to update also our Child Theme structure based on the latest one from 92 Lines to 98 Lines then + 2 Lines on our Custom code?
8. Mobile Theme Plugin – if I install this plugin would the Child Theme modification will reflect to this? I mean I made changes in Serial 3, 5 and 6 will it reflect also? Please advise.
8.a. Whats the difference between Theme Panel background color for mobile vs Mobile Theme Plugin Settings background color? Which one should I make the changes if this Plugin is installed?
8.b. Gradient color – may I ask the exact hex number of this color? Link Here
9. Am I allowed to create directory structure and add the following filename on the Child Theme incase all of the above are possible to my site.
>loop-single-12.php
>top-menu.php
>For Serial 5 filename
>header.php
I have sent my Login Credentials via mail incase you may need it with the same Subject here.
Regards
if i enable bottom like/tweet button then the twitter sharing open a new window. but i don’t want bottom buttons :/ still same window
Hi Catalin,
I manage now to update my site to 7.0 without having a problem and I am proud to share it to the community.
Please help me to implement back the following:
1. Please advise if this is correct for Facebook comments and USERPRO Author Box – I manage to set this properly on the previous version 6.7.2 I am using loop-single-12.php style
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
- - - This is what I inserted a shortcode to show a USERPRO Author Box Card - - -
<?php echo do_shortcode('[userpro template=card user=author]');?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
- - - This is what I inserted a code to show Facebook Comment - - -
<div class="fb-comments" data-href="<?php echo get_permalink($td_mod_single->post->ID); ?>" data-width="100%" data-numposts="5"></div>
<?php echo $td_mod_single->related_posts();?>
For Facebook comment – I place a code in header.php
<body <?php body_class() ?> itemscope="itemscope" itemtype="<?php echo td_global::$http_or_https?>://schema.org/WebPage">
<div id=”fb-root”></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = “//connect.facebook.net/en_US/sdk.js#xfbml=1&version=v2.5&appId=XXXXXX”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<?php /* scroll to top */?>
2. http://prnt.sc/b2jo8d – I want to know the exact gradient color of that in the screenshot.
Regards
For your reference, the page I am using to try this out is: http://newest.radass.com/galleries-people-human/
First, I disabled ALL plugins, except the S3 Offload, since all of our assets are on S3 storage. (Note, even when I disabled these plugins too, the Gallery html was not generated.)
Plugins: https://drive.google.com/open?id=0B2QpbwncFqR9d2FyV3FMUWdnR1k
Next, I added a standard gallery to a new post. Here, I show both the visual and text editor.
Text Editor: https://drive.google.com/open?id=0B2QpbwncFqR9RVJJWHdUS29oNjA
Visual Editor: https://drive.google.com/file/d/0B2QpbwncFqR9YVVQX0xfM25aRDg/view?usp=sharing
Now, looking at the Post page, the gallery does NOT render out. Using Developer Tools in Chrome, I’ve verified there is no Gallery being rendered here.
Post: https://drive.google.com/open?id=0B2QpbwncFqR9UG0tMFJzN0hMVUU
However, if I edit the gallery, and ask it to use the TagDiv slider:
Gallery Editor: https://drive.google.com/open?id=0B2QpbwncFqR9VkdXSVRZRXR0RTg
Then it will properly render THAT gallery out.
Post: https://drive.google.com/open?id=0B2QpbwncFqR9WXlJTDg3NnowclE
Again, if I change the theme to Twenty-Sixteen, the Gallery shows up no problem.
Hi
Thanks for your answer @Chris!
@PowerSellingMom I’ve checked your site and internal links added in post content works fine on my end. However as @Chris pointed you have some errors in browser’s console, most of theme related with font origins. Here you can find a fix for these errors, for most users it worked: http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co
Let us know if you need further assistance!
Thanks!
Hello Mystic,
Unfortunately, we do not have any bad reports in this regard, sorry! I have tested on my side without any customizations and robots.txt and the twitter sharing work as properly. Also, I have shared a random post from your website to my twitter and seems to work as properly, as you can see here -> http://screencast.com/t/faG1vGx4
If your problem reappears, please try to disable the robots.txt configuration, clear all caches and disable all the untested plugins if you are using on your side and test it again. For more information about robots.txt, please check the documentation here -> https://dev.twitter.com/cards/getting-started#crawling
Thank you for your understanding!
Hi assistance,
when I go to share a post with the social sharing:
“page not found”
I await your response and good work…
Hello,
I have mail poet working on my previous theme. I updated to Newmag and now it doesn’t work. I contacted plugin support and they say that it is incompatibility with the theme and asked me to contact theme support. Here is the error link here
I love the article sharing you provide on the Post Settings.
But it works only for posts, not on pages.
Maybe in the future it could be added also for pages.
If this ever happens, let me know 🙂
Facebook rejected an ad based on the sharing button
Ads that have more than 20% of text in their image won’t be approved to run on Facebook or Instagram. Too much text can look like spam and make people think that your ad is low quality. Make sure to use the headline and body of your ad to tell people more about why you’re advertising and what you want them to do. Learn more about Facebook’s Advertising Guidelines.
Upload an image below to see how much text you’re using. After you upload an image, we recommend marking five boxes on the grid in order to determine whether your creative is likely to be acceptable to show on Facebook or Instagram.
How do I change the ad/sharing that is being used when you share something on facebook?
http://ncadvocate.net/
How do I move the position of the sidebar on posts? It is showing the content, then sharing buttons, then related articles. How do I set it so it loads like this;
1. Article
2. Enter Competition
3. Share Buttons
4. Related Articles
Thanks
Hello razakey,
If you want to add your custom text above your sharing buttons, you have to follow this step -> http://screencast.com/t/K4plUTxog
Thanks.
Hi,
Please make sure you have not been infected by any malicious software as facebook describes. Use different tools and secure your site. Then you can make sure you follow this guide to have the proper settings for facebook sharing: https://forum.tagdiv.com/facebook-share/
If the problem is still there, you will have to contact facebook to see why this is happening.
Thank you!
Hello,
The icons for Facebook, Twitter, Google Plus, etc is not showing up in the post sharing buttons. Instead of buttons, a small white box appears.
See it here: http://www.screencast.com/t/Uyf8f6aa
It only happens in chrome. Cleared my cache, history, and even re-installed the chrome, but still nothing.
Please help ASAP!
Hello, Is it possbile to put the text at the end of the post and not after ‘sharing button’ ‘related article’ and ‘tags’
-
This reply was modified 10 years by
razakey.
Hi,
The easiest way to have a share option is through a plugin. There are lots of sharing plugins to chose from. Test a few of them out and see how they work for you. We have not tested the sharing button on pages so we cannot say for sure how it will work.
Thank you!
Hi! I must say I really love this theme, it is almost out-of-the-box ready for our purposes, but I hope you can answer the following questions related to the changes we see necessary:
1. For the post templates, we would really love to have the default style with the text BELOW the top picture instead of above. Is this possible? I find it strange that this is not one of the pre-defined templates.
2. Our top menu consists of 3 elements. Is it possible to highlight ONE of the 3 menu elements with another background color? Example: http://www.screencast.com/t/W6jQvE3el
3. Under “Post Settings” I can turn off showing author and date for all posts. This affects both the frontpage and sidebar (preview of posts) AND the post page itself. I would like to turn off/disable this for the frontpage and sidebar, but still show author + date at the very top of all posts when on the post page. Is this possible?
4. For “Block 13”, can I also show the introduction and just not the title underneath the picture?
5. Is it possible to modify/create a block (similar to Block 13 or 20) to show the full picture, then title, then introduction? Example: http://www.screencast.com/t/y0s4F7irXIKh
6. At the bottom of every post, underneath the Social Sharing buttons, there are two “menus” (related articles + more from author) above 3 post previews. I would like to only have one menu (delete more from author), is this possible? Explanation: http://www.screencast.com/t/15j0LrFz
7. I have created a new page but I can’t figure out how to make the right hand side of the page “sticky”, so that when scrolling down on the page the content on the right hand side will always be on top.
Tagdiv’s support answer was to remove some code. The code to remove is shown in one of the links below.
Here’s their answer:
1. The theme display the default share buttons on post, but you can change that by modifying the code like this:
-social sharing top: http://screencast.com/t/5cOfEKhOvq -social sharing bottom: http://screencast.com/t/HaYAos2UW14E
1. You can use Wp Text widget http://screencast.com/t/Rj251NC5yOPU to add a new share button but notice that the php code will not be interpreted, you can use only html, js and css, also make sure you insert the code in text format: http://screencast.com/t/woDhLq9Li5 Notice that you may need additional css customization for your buttons. The result could be like here: http://screencast.com/t/Br8L5bpjk
2. The social networks from Theme Panel > Social Networks are adding the corresponding social network icon into theme’s top bar section in front end and will link to the social page you set here: http://screencast.com/t/Nr5yKbQ9Tt – http://screencast.com/t/dpkjL2Nff
Thanks!
Post Link: https://forum.tagdiv.com/topic/three-questions/#post-66068
Hi,
You can simply paste the code below or above the sharing code like so:
http://screencast.com/t/XHAwSs9kVij
You can try different locations in the file and check the result on the front-end
Thanks.
Hello TPRouhana,
Please try to copy the exact code from this link -> http://webmasters.stackexchange.com/questions/71630/font-blocked-from-loading-by-cross-origin-resource-sharing-policy-no-access-co and do not copy and paste the code from the forum because it could be some differences to quotes and because of this can work. Please notice that this method works fine for all customers and also, it should work fine for you.
Thank you for your understanding!
Hi,
I’m glad you managed to find the problem and thank you for sharing with the community.
Thanks.