guyadams
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentThat thats good news, we will wait to hear of the new release.
Thanks
Guy
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentNo problems Steve, glad your sorted.
Guy
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentRight I see what has happened here:
I have version 1.4 which according to my plugins control panel is the most upto date version. It however is not.
Alex King is the original author and where I got the plugin from http://www.alexking.org, however it appears he has passed share this on to Nextumi, Inc.
Since this they have release a new version which has obviously changed things around a little.
All the instructions I wrote are for the 1.4 and below and I have not yet looked at version 2.0
Thanks
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentHi scuba.
The file I mean is in the wp-content/plugins/share-this/ directory and for some reason on my site called share-this.php
The lines that need editing in this file are number 28 and 32 but may differ slightly if we are using different versions.
Thanks
Forum: Fixing WordPress
In reply to: WP Tag Cloud Fails ValidationI figured this out, it was down to me not really knowing enough about PHP.
Thanks
Forum: Plugins
In reply to: Share This questionSee this for details on how to remove it from pages and also move the Share This icon to where you want it:
http://wordpress.org/support/topic/137891
Thanks
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentRight I have managed today with a bit of time to resolve the issue and get the icon where I wanted it. I’ve laid it out here step by step and hope it helps you.
1) Disable the automatic addition of the share this icon.
To do this go to PLUGINS > PLUGIN EDITOR > Share-this.php, then simply change this:
@define('AKST_ADDTOCONTENT', true); @define('AKST_ADDTOFOOTER', true);to this:
@define('AKST_ADDTOCONTENT', false); @define('AKST_ADDTOFOOTER', false);2) Manual insert the call to add the Share This icon to all your posts.
Go to PRESENTATION > THEME EDITOR > Select the ‘Main Index Template’ (aka index.php from your theme’s folder)
Add this line to where you want the Share This to be:
<?php akst_share_link(); ?>I have added the Share This icon next to the number of comments, below each post (see here)
This will add the Share This icon on the front page only, you will also need to add it to the ‘Single Post’ (aka single.php) for when people click through into each individual post, you can do this by the same method as above.
I have actually added it to the ‘Comments’ (aka comments.php) so that it appears next to the comments RSS and trackback URI links (see here)
I’m very new to PHP and this has taken a fair amount of time to get right and to ensure my site still validates but if anyone wants a hand, let me know.
Thanks
Forum: Plugins
In reply to: Share This questionI too would like to know how to remove the Share This icon from other pages. Did you ever manage to figure it out?
Thanks
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentUnfortunately not. Like you I have played with parts of the share-this.php file but to no avail.
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentWhere abouts is the code for the addition of the share this icon and what changes did you try?
Thanks
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentMany thanks for the reply Moshu, im not entirely sure where I need to look, when and where does the share this icon get placed on the posts?
Thanks
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentCan anyone help me with this?
Many thanks
Forum: Themes and Templates
In reply to: Help with XHTML and CSS validationI have added the alts to the recent photos which cured some of the errors. I then removed the wordpress tag cloud from the side bar and the rest of the errors have gone. The code that I used for the tag cloud was this:
<?php if ( function_exists(‘wp_tag_cloud’) ) : ?>
- <h2>Tags</h2>
-
<?php wp_tag_cloud(‘smallest=8&largest=16&number=150’); ?>
<?php endif; ?>
That is the code according to this wordpress document
So why would it fail XHTML validation and is there a way I can alter it to make it work correctly? For now I have taken it down.
Forum: Themes and Templates
In reply to: Help with XHTML and CSS validationIs this a new requirement? Does wordpress not do this automatically? (or should it?)
So from now on I have to manually add ALT=”picture_text_if_missing” to all the photo uploads I make to wordpress?
Many thanks for your response so far.
Forum: Fixing WordPress
In reply to: ‘Share This’ Icon AlignmentApologies forgot to post it: