Theme conflicting with plugin?

Posted in: Newspaper
Post count: 317

Hi

I am using this plugin to show sharing buttons on the site. But it is conflicting with the theme and it isn’t full width..I want it to be full width and responsive.

The plugin demo is responsive but as a result of theme conflict, it isn’t resposnive on the theme?

Please help

Post count: 6600

Hi,

Please add a link to your page and point me to where you are having this issue so I can check.

Thanks

Post count: 317
Post count: 6600

Hi,

You don’t need to style the buttons, just uncheck this box from plugin settings: http://screencast.com/t/418lcQ8tq
Use the "Enter CSS to fix or modify how your buttons look" field of the plugin to style the buttons yourself.

Thanks

Post count: 317

Hi Lucian,

I did what you’ve asked me to do. But it didn’t fixed the issue. My settings for the plugin is currently this:

Is it something related to W3 Total Cache’s Minify settongs? If so, here is my minify settings:

and

Please helpp

Post count: 6600

Hi,

Please try this without any other plugin active, it could be in conflict with other plugins. I have checked this using W3 Total Cache plugin works fine.

I have used this settings: http://screencast.com/t/RHz4oTIkr8K
And added it like this in loop-single.php file: http://screencast.com/t/uouhQPkzCp
I get this result: http://screencast.com/t/uouhQPkzCp

Thanks

Post count: 317

HI Lucian,

I deactivated all the plugins and re-added the plugin but it is still like that. The settings are same and I deactivated W3 Total Cache as well but didn’t worked. I tested on my localhost and it worked with the same theme. It would be really appreciated if you could take a look at it. I will send you the login info through email.

Please let me know if you could do it.

Regards

Post count: 341

Mehedi, I’ve a question once again :P. How you got to do this? “1 day ago” ??

Post count: 317

@shashank Follow the following steps:

Add this code to your functions.php file:

function time_ago( $type = 'post' ) {
	$d = 'comment' == $type ? 'get_comment_time' : 'get_post_time';
	return human_time_diff($d('U'), current_time('timestamp')) . " " . __('ago');
}

Then, use this: <?php echo time_ago();?> on any theme file to show it.

Hope that helps.

Post count: 341

Thanks Dude 🙂

Post count: 317

Lucian?

Post count: 9544

Upshot: not all plugins work with all themes, and sometimes it’s due to the plugin author not properly escaping something, or doing a query that isn’t reset when done, or which duplicates a call to something like bootstrap code or jquery, etc. Or, worst of all, uses a non-unique function call, which is already used by the theme or bootstrap or other common plugins.

My rule of thumb is, I try to get a plugin to work three different attempts; then move on to something which isn’t a piece of crap.

(Just my four cents …) 🙂

  • This reply was modified 11 years by simchris.
Post count: 317

@Christopher The plugin is brilliant. It worked with the same plugins installed and the same theme on my localhost. It looked good on the localhost. But for some weird reason, it isn’t working on the live website…?

Post count: 9544

Yup. Web server is different from a local PC since you don’t control the PHP settings, security settings, or the order things load, or external async elements.

You can’t presume anything that works on localhost will work on web; and fact that it doesn’t would likely cause one to reconsider use of “brilliant” in this context.

My experience has been – test on the web with the actual server. Some plugins are not tested against say an nginx environment vs an apache environment, or with timing of how things load in production environment on server, even though one would assume if it works on localhost or virtual machine it should work on the web, not always so.

I’ve had a lot of great plugins which break on version xxx of WordPress, and can never be used ever again. Also note that the theme has been optimized around some of the pending changes for WP 4.0, and not all plugins have done that yet.

But you asked me to look at this, so just giving you my thoughts. If it doesn’t work on the server, you need to figure out what is loading before it that breaks it.

  • This reply was modified 11 years by simchris.
Post count: 317

Thanks @Christopher! @Lucian, would you like to take a look?

Post count: 9544

Sometimes it’s also something stupid like the relational paths are not set properly in the plugin so it can’t find its pieces and it can find path on localhost but not on server.

Post count: 317

@Lucian, forget it. I have created one for myself. @Christopher, would love to hear your comments on the sharing buttons: http://gdgtarena.com/2014/08/22/samsung-galaxy-s5-takes-als-ice-bucket-challenge-dares-big-boys/

Post count: 9544

Hi, the buttons look fine *except* the text at bottom of each button is partially visible/chopped off when I view in IE11/Win7-64. On Chrome/Win7-64 I only see the solid color buttons and no icons/letters and on hover the compress to half-width. So, something not quite right on those.

Oh, on Chrome if I expand the window to “full width” the icons are at top of page vs bottom of article and have the icons and text. Then if I shrink screen to my normal reading width I see the same issue with the icons, but text mostly off the button. If I switch to iPad portrait size, only solid boxes of color at bottom of article.

So … not working for me at this point, I would have to say … sorry! 🙁

Post count: 317

I know there is a lot of problems on it. I am still working on them.

  • This reply was modified 11 years by mehedi.
Post count: 317

Hey Christopher,

I have been working on it for the last 1 hour and I was able to fix the issues. I also made all the icons of the social networks look the same (same size). It would be really great if you could take a look.

However, it isn’t responsive. That means, it is only visible on desktops with display which are bigger than 1024px. Can you please suggest the best way to make them responsive?

Thanks for the help!

Post count: 341
Post count: 317

@Shashank I can see that you’re using the Shareoholic plugin. Can you please check if it includes sharing button for Reddit and Pocket?

Thanks!

Post count: 341

Yes mehedi, it has the options for Reddit and Pocket too and there are many more sites. I guess you might like that plugin too. It has more designs too live horizontal or vertical. Or round or square shapes etc..

Go for it and check the reddit and pocket here: http://www.styzic.com/apps-software/android/android-l-name-lemon-meringue-pie/546/

Cheers

Post count: 9544

I’ve used both shareaholic and addthis, and both have worked great.
I kind of prefer Addthis, myself, but both do the same thing really, just with different “styles.” With shareaholic I got tired of the gimmicky pop up thing, which was cool 3 years ago, but not as much now.

Post count: 341

@Chris they have an option to disable that popup too 😛

Viewing 25 posts - 1 through 25 (of 28 total)
You must be logged in to reply to this topic.