Search Results for 'amp'

Results from the Forum
jcarr99
Participant
#0

Hi,

I’m trying to change the above and below aritcle facebook and twitter from share to follow.

I was successful with facebook but twitter is giving me an issue. here is what I have so far.


        if (td_util::get_option('tds_bottom_like_tweet_show') != 'hide') {
            //classic share buttons
            $buffy .= '<div class="td-classic-sharing">';
	            $buffy .= '<ul>';

	            $buffy .= '<li class="td-classic-facebook">';
                $buffy .= '<iframe frameBorder="0" src="' . td_global::$http_or_https . '://www.facebook.com/plugins/like.php?href=http://facebook.com/gruntstuff' . '&layout=button_count&show_faces=false&width=105&action=like&colorscheme=light&height=21" style="border:none; overflow:hidden; width:105px; height:21px; background-color:transparent;"></iframe>';
	            $buffy .= '</li>';

	            $buffy .= '<li class="td-classic-twitter">';
	            $buffy .= '<a href="https://twitter.com/GruntStuff"> <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 .= '</li>';
            
	            $buffy .= '</ul>';
            $buffy .= '</div>';
        }

        $buffy .= '</div>';

        return $buffy;
    }

It’s working perfectly in the share box but below that it adds like 5 other twitter follows… Does anyone know what’s going on here?

Example of duplicate twitter follow buttons

Ankush Das
Participant
#0

Well, I just recently checked about the project – “Accelerated Mobile Pages” AMP HTML an open source project from Google. And https://www.ampproject.org/ this being the official site.. loads extremely fast! That runs on AMP.
However, I’m afraid I don’t know the technicalities of it, whether its support would come with a WordPress update or theme developers would support it. But, still I wanted you to take a look at it! If it could be implement in this theme! This theme would be undefeatable (already is) but would be more 😀

soumitmis
tagDiv Member

I am trying to embed a video from facebook on a Post with default template. I used the code below. But the post does not show the video. In stead it shows the following text in blockquote display.
(REAL FACE OF #BJD AND IT’S WORKERS…..
POSTED BY ABHISHEK MAHANANDA ON FRIDAY, 9 OCTOBER 2015).

Post URL: http://24live.in/2015/10/11/video-shows-real-face-of-bjd-goes-viral-on-social-media/

Code used:
<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&amp;version=v2.3″;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));</script>
<div class=”fb-video” data-href=”https://www.facebook.com/abhishek.mahananda/videos/10207481967104841/&#8221;
data-allowfullscreen=”true” data-width=”500″></div>

fusioncloud
Participant
#0

Hi, I want to add a block with infinit scroll in footer section only in article page below section. If you visit mashable.com/2014/10/09/google-nexus-shamu-report this page you will see an auto infinit scroll section bellow article in the footer area. I like to achieve similar feature (screenshoot) . You told that it can be done by adding a do_shortcode function.

But as i am not a techy guy can help me providing screenshot & exact code (for block 3 with latest articles) that i can paste. Please help.

Thanks in advance.

screenshot

zeus
Participant
#0

Hi folks,

after updating to v6 my Facebook like button is cut off, probably because the text on the button is Dutch and a bit longer than in English. Any way to fix this (by me)?

For an example click here and see on top

Cheers!
Roeland

brunzino
Participant
#0

Figured out how to do this just thought I’d share the knowledge in question / answer format.

Paste this code in Theme Panel -> Custom Javascript


// Clear Ajax search
// from http://stackoverflow.com/questions/1403615/use-jquery-to-hide-a-div-when-the-user-clicks-outside-of-it
jQuery(document).mouseup(function (e)
{
var container = jQuery("#td-aj-search");

if (!container.is(e.target) // if the target of the click isn't the container...
&& container.has(e.target).length === 0) // ... nor a descendant of the container
{
container.empty();
}
});

jcarr99
Participant
#0

Is there any possibility to use the “other non-responsive ads” with google adsense. For example… On mobile I would like to display an adsense code but on desktop I would like to display an amazon affiliate widget but it seems adsense takes over no matter what.

reizenoverdewereld
Participant
#0

Maybe a newbie question, but how can you include a photo (like the camel) in this theme?

If I choose the Travel template for a theme you don’t get the camel sample picture. So, where can I include the picture and what is the best size to use?

stuartmasson
Participant
#0

Hi guys,

I am trying to edit pages and posts with visual composer, but when i try to edit a text block, it doesn’t work. The content itself doesn’t show up, and all I can do is hit ‘close’ or ‘save changes’, as shown.

http://www.screencast.com/t/zNV8aMpV2j

I assume that there is a conflict somewhere but I can’t find it so far. I have done the usual uninstall/re-install, deactivate all plugins and reactivate them one-by-one, etc. I am running the latest version of VC from this week’s Newsmag update (2.2.1)

Bogdan B.
tagDiv Staff

Hello Julien,

Please make sure you use the latest version of the theme and the latest version of the social counter
https://forum.tagdiv.com/how-to-update-the-theme-2/
If you already use the latest version, please make sure the correct social id is typed in the social counter settings: http://screencast.com/t/PTNnG6afCxI
You can also try to insert a different ID to see if followers are pulled. (for example ‘cocacola’)
Your Facebook and Twitter pages need to be public. If they are not, the plugin won’t be able to access your followers.
If all these conditions are met, you can try one more thing. Disable all your plugins except visual composer and see if it’s not a conflicting plugin that causes the issue.
Let us know how it goes

Thanks.

k2point0
Participant
#0

As the title says –

How to Disable Related Posts, Prev & Next Articles on Mobile Devices only. Yes, they should be available for desktop. I wanna do that because of mobile devices each post takes much time to load on a slow 2G, 3G connection.

Thanks!

Lucade
tagDiv Member

Even in the latest version of WordPress by Yoast must go in the editor in the file
As a temporary solution remove the disable option-author of the archive function redirects in /plugins/wordpress-seo/frontend/class-frontend.php. Leaving it like this:function archive_redirect() {
global $wp_query;
$options = get_wpseo_options();
if ( ( isset( $options['disable-date'] ) &amp;&amp; $options['disable-date'] &amp;&amp; $wp_query->is_date ) || ( isset( $options['disable-post_formats'] ) &amp;&amp; $options['disable-post_formats'] &amp;&amp; $wp_query->is_tax( 'post_format' ) ) ) {
wp_redirect( get_bloginfo( 'url' ), 301 );
exit;
}
}

simchris
tagDiv Member

Hm..
might be plugin conflict, permalinks issue; or double check the author “name” has no tildes or language based characters in it … check the “user” settings and look at the username, display name, and check for odd characters, try changing the “display name” …. try resaving the username/account.

Make sure the social and ad systems are not causing redirect issues, which I’ve seen before due to too many things loading on page causing conflict (check F12/console in Chrome, for example …).

Check your htaccess file to make sure there are no leftover “rules” from a prior theme causing issues or redirects.

Not sure any of that will help, but place to start! 🙂

Lucade
tagDiv Member

My website is this http://www.rubricanews.com
If you try clicking on the name of an author is redirected on the home page.
here is example http://rubricanews.com/author/ely/
I never entered this function, for me it is very important to have a page for each author

Il mio sito web è questo http://www.rubricanews.com
Se prova a cliccare su il nome di un autore viene reindirizzato nella home page.
ecco esempio http://rubricanews.com/author/ely/
Io non ho mai inserito questa funzione, per me è molto importante avere la pagina per ogni autore

simchris
tagDiv Member

For those curious why I’ve been recommending disabling XML-RPC on WP, here is more fuel for the fire on “why I do that …” —

https://blog.sucuri.net/2015/10/brute-force-amplification-attacks-against-wordpress-xmlrpc.html

simchris
tagDiv Member

Hi
before doing auto-updates, good idea to download and review the changelog. For the latest update, for example, the only thing that changed was update to visual composer for a security patch and so you didn’t need to update the “whole theme,” and just update the plugin.

Manual install is still always “safest” way to go as the Envato thing sometimes just simply does not work and I totally abandoned even trying to use it, for exactly the issue you are now facing!

Just an opinion, food for thought.

Bogdan B.
tagDiv Staff

Hi,

Please provide more details so we can better understand the issue. Please show us an example or screenshot.

Thanks.

cmistico
Participant
#0

Hi all,
I have a serious problem with newsmag themes.

I used this theme to create a new site on amazon ec2- bitnami wordpress multisite stack-
I imported my old forum (about 3000 users and 10.000 post) from old site to my new site.

This is the old site (still on line)
http://www.analisidelsangue.net/forum/forum.asp?FORUM_ID=2

and this is the new site with forum bbpres platform integrated
http://ec2-54-74-243-146.eu-west-1.compute.amazonaws.com/forums/forum/discussioni-ed-opinioni/

well, all seems it works properly, but when I tried to se the page of an user, this page is empty.
So, for esample – this user Drumma has 1790 response but the page of his replies is white..

http://ec2-54-74-243-146.eu-west-1.compute.amazonaws.com/forums/user/drumma/replies/

Even if there is the pagination (1.. to 120 ).
Someone can help me to resolve this issue? I’m sure there is a problem with the theme because if I open a new forum, from scretch, there is the same problem

thank you
alessandro from Italy

The Learned Lizard
Participant
#0

Hi all, bit of a problem but im sure one of you guys knows the answer.
How do i get rid of the Facebook and Twitter buttons as per my attached file ?
[IMG]http://i61.tinypic.com/nyea2x.jpg[/IMG]
http://tinypic.com/view.php?pic=nyea2x&s=8#.VhZh2vlVhHw

Bichareh
Participant
#0

Hey guys! To generate more views / clicks I want to add a preview site for Facebook/Twitter users. So they see a big preview for the article they clicked on and some smaller previews from my other articles. Her is a link so you know what I mean 😉

I want to share only the Preview links on Twitter and Facebook.

Do you know an easy way to do this?

Example:

Preview
http://www.vip.de/preview/bachelorette-alisa-und-ihr-auserwaehlter-patrick-wollen-zusammenziehen-2479488.html

Article
http://www.vip.de/cms/bachelorette-alisa-und-ihr-auserwaehlter-patrick-wollen-zusammenziehen-2479488.html

Thank you!

Bogdan B.
tagDiv Staff

Hello,

It actualy depends on what icons you created. Our theme uses glyph’s (font icons) for its menu icons:
http://screencast.com/t/W6V493fR
If you create a vector graphic for example you can use it as shown here:
https://css-tricks.com/using-svg/
You can find more tutorials on how to use icons here: http://alwaystwisted.com/articles/2012-05-12-create-a-pure-css-menu-button

Please show an example of what icon type you plan on implementing.
Thanks.

Alin [tagDiv]
tagDiv Staff

Hi,

You can add a background image to a row and stretch it – http://screencast.com/t/eXbpEs4O then you can play with the design option – css box – http://screencast.com/t/47x0TU2Yb and also for the bellow row(in demo block 5 row) – http://screencast.com/t/fleFsRa7f add negative top margin for example.
On our demo we use some extra classes to those row and we have added css code in style.css. So you could use the demo classes if you want:
*for background row td-travel-headerhttp://screencast.com/t/fUvEoIMwjXY
*for block row td-travel-featureshttp://screencast.com/t/oDcj0EY0

You can find the css in style.css file just search after those classes – http://screencast.com/t/t6ln5rgUpxx8http://screencast.com/t/eJN8kUOQVu

Hope this helps!

Andrei L.
tagDiv Member

Hi

The theme doesn’t have an option to display different types of ads on the site, for example the header ad will be displayed from the same spot on all pages and posts. If you want a different ad for homepage you need to add a condition in ads.php file like here: http://screencast.com/t/BqOhbFzqqpGS and insert the shortcode corresponding with the ad spotthat you want to use. To get the shortcode add an ad box into a blank page then switch in backend editor copy and paste this code: http://screencast.com/t/Kcqsjk9C7xbU inside do_shortcode function
For the ads from page content you can use the ad box block and use the corresponding spot for your ad: http://screencast.com/t/YlkV5d5yke

Let me know how it goes.
Thanks!

Alin [tagDiv]
tagDiv Staff

Hi,

As you can see on our demo no tagdiv blocks have this effect and you will need custom modifications for this, with a specific css for each module. Just the Big Grid blocks have a zoom effect.
You have to add this for each module with specific width and height(thumb size) and it is not so easy if you don’t have html/css experience. I provide an example how this works for module 10 – http://screencast.com/t/Gewgic8X5
Just paste this custom css in Theme Panel > Custom Css and check module 10(on a category for example or block 11):

.td_module_10:hover .td-module-thumb a:after {
content: '';
width: 218px;
height: 150px;
background-image: url("http://www.be-street.com/wp-content/themes/bestreet4/img/hover-full.png")!important;
background-size: 218px 150px;
display: block;
position: absolute;
z-index: 100;
top: 0;
}

2. The share buttons are available only on post pages and not for blocks/modules – http://screencast.com/t/9dZrSZfZYzehttp://screencast.com/t/m7Rnxg3bQYK

Thanks!

Viewing 25 results - 35,101 through 35,125 (of 38,683 total)