Viewing 10 replies - 1 through 10 (of 10 total)
  • With the current version you can by using shortcode and a buton in visual editor

    I need a different way to put the code in manually; because my clients don’t need/want to put shortcode in the visual editor. Can you give me instructions aon how to put it in a widget so I can place this widget anywhere in the html?

    You mean outside the page ?
    Coudl you give me a specific example ?

    The link to the page is https://dev.fdc.pixelliquid.com/een-mooie-nieuwe-productie/

    The html structure is like this:

    <div class="post-inner-single">
    <div class="aligner"><div class="post-meta"></div><img></div>
    <div><h2 class="post-header"></h2>
    <div class="the-post-content">
    <div class="social_linkz">@ top of post</div>
    <p></p>
    <div class="social_linkz">@ end of post</div>
    </div>
    </div>

    The general idea is to put the social_linkz code next to the post-meta instead of in the content-div.

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

    if you add the following php code ?
    <div class="post-meta"><?php $sociallinkz->print_buttons($post); ?></div>
    Does it work ?

    When I put that code in a text-widget WP strips the php so it doesn’t work… see the same link as last post.

    Not in a text widget ! Indeed, if you do so, it won’t work. You told me that you want to add the button in the post-meta so I assume that you could edit your theme files to add the php code to the single.php file, no ?

    I work with the drag&drop-theme Ultimatum so I don’t fiddle in the php-files themselves … But is it possible for you to insert the code on more places via the preferences, instead of just “top” & “bottom” of post / page?

    lemongris

    (@lemongris)

    Any solution for this?

    <div class="post-meta"><?php $sociallinkz->print_buttons($post); ?></div>

    Doesn’t seem to be working.

    add echo:

    <div class=”post-meta”><?php echo $sociallinkz->print_buttons($post); ?></div>

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘[Plugin: Social Linkz] How do you add this manually?’ is closed to new replies.