shyne23
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Restaurateur] Change the order of the menu itemsThanks a lot!
I will test it today.
Forum: Plugins
In reply to: [Facebook] Images in timeline only sometimesthe problem is the simple share button adder. can someone explain?
Forum: Plugins
In reply to: [Facebook] Social Publisher not showing image on timelinewhat was the problem? could you explain
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageI found the problem. My code doesn’t work with the nextgen gallery because it looks for attached images of a post. i am sorry but you have to use the default function of the ssba plugin.
regards
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageOkay, you didnt get the attachment_url. Please look if there ist a
wp_get_attachment_urlfunction in your post.phpForum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageDid you replace the original code with the new one ?
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageI look for a solution. Maybe you like this one more!
$htmlShareButtons .= '<a id="ssba_pinterest_share" href=\'javascript:PopUp("http://pinterest.com/pin/create/button/?url='. $urlCurrentPage . '&media='.wp_get_attachment_url(get_post_thumbnail_id()).'&description='.get_the_title().'")\'>';with this code you can only post one fixed picture.
Enjoy!
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageHey,
Pinterest already use a iframe. It looks like a new page, but its a Javascrip, you can select the image to pin. After selecting a picture anoter popup will appear and the other window will dissapear.
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageHey Siskoto,
sorry i miss one point.
you have to add the following code to your header.php (before head)
<script language=”JavaScript”>
<!–
function PopUp(URL) {
window.open(URL, ‘Windowname’, ‘width=450, height=300, toolbar=0, scrollbars=1 ,location=0 ,statusbar=0,menubar=0, resizable=0’);
}
//–>
</script>Forum: Plugins
In reply to: [Simple Share Buttons Adder] Use pop Up instead of blank pageHello i found a solution. maybe you will implement it in the plugin.
i will give an example for facebook. so anybody cann use this to create pop up’s for the other share buttons.
1: go to plugins/editor
2: choose Simple Share buttons Adder
3: select simple-share-buttons-adder.php
4: search for facebook.com till you find this code$htmlShareButtons .= '<a id="ssba_facebook_share" href="http://www.facebook.com/sharer.php?u=' . $urlCurrentPage . '" ' . //($arrSettings['ssba_share_new_window'] == 'Y' ? 'target="_blank"' : NULL) . '>';5: replace it with the folowing code
$htmlShareButtons .= '<a id="ssba_facebook_share" href=\'javascript:PopUp("http://www.facebook.com/sharer.php?u=' . $urlCurrentPage . '")\'>';6: enjoy!