rtod2
asked on
Move button
I am relatively new to the development end of Wordpress with http://weaverplus.info/ themes. I would like to move the email button inline with the Tweet and Like buttons. I need to know what specific steps to take in order to accomplish this. The page with the button that needs to be moved is www.frugalmule.com/sandbox and the code for the button is here...
Once moved, the left-to-right order should be.
1. Email Button
2. Like Button
3. Tweet Button
<script type="text/javascript">// <![CDATA[
function getTitle(){
var subOFEmail=document.title;
var bodyOfEmail= window.location.href;
window.location.href='mailto:'+""+'?subject='+subOFEmail+'&body='+bodyOfEmail;
}
// ]]></script>
<input type="button" value="Email" title="Pass It On" style="font-size:small; background-image: url("http://www.huronsocial.com/_img/icons/email.gif"); background-repeat: no-repeat; background-position: 4px center; padding-left: 24px; border: 1px solid rgb(176, 176, 176); border-radius: 3px;" onclick="javascript:getTitle();">
Once moved, the left-to-right order should be.
1. Email Button
2. Like Button
3. Tweet Button
ASKER
No idea... Please give me specifics. Where to click in the back-end and where to go.
When you place the above javascript, are you doing it in the Visual Editor so it becomes page content or is it embedded in the page template?
ASKER
I don't know. I didn't do the Tweet and Like buttons.
But you did do this email button...so where are you placing the code?
ASKER
The email button is just in the body of the post at www.frugalmule.com/sandbox.
Okay. Do you see the code for the Facebook and Twitter buttons in the visual editor?
ASKER
no
Right, that's what I was afraid of.
The social sharing buttons are being added by a plugin or have been hardcoded into the page or post template. If they are being added by a plugin, you'll need to edit the plugin and add your email button code there so it inlines with the other buttons. If the code is embedded in the page template or post template, you'll have to add your email code to those places (Appearance | Editor then select the appropriate page template or single.php)
The social sharing buttons are being added by a plugin or have been hardcoded into the page or post template. If they are being added by a plugin, you'll need to edit the plugin and add your email button code there so it inlines with the other buttons. If the code is embedded in the page template or post template, you'll have to add your email code to those places (Appearance | Editor then select the appropriate page template or single.php)
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Please you are looking for is a DIV tag with a class "hjawidget" (<div class="hjawidget">). Please your button code as the first thing inside that DIV tag.