WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] The problem with php code (1 post)

  1. TTBoS
    Member
    Posted 2 months ago #

    Hello,

    When I add the php code <? Php if (function_exists ('ADDTOANY_SHARE_SAVE_KIT')) {ADDTOANY_SHARE_SAVE_KIT (); }?> To my theme buttons are in the wrong place.

    So looks like my code + code from plug-in:

    <p><?php if (!is_page()) {?> autor <?php the_author_posts_link() ?> <?php echo get_the_date(); ?> <img alt="" src="<?php echo get_template_directory_uri(); ?>/images/smt/category.png"><?php the_category(',&nbsp;'); }?>
    			<?php if(comments_open( get_the_ID() ))  {
                        ?><img alt="" src="<?php echo get_template_directory_uri(); ?>/images/smt/comments.png">&nbsp;<span class="meta_comments"><?php comments_popup_link( $SMTheme->_( 'noresponses' ), $SMTheme->_( 'oneresponse' ), $SMTheme->_( 'multiresponse' ) ); ?></span><?php
                    }
                    ?><?php edit_post_link( $SMTheme->_( 'edit' ), '&nbsp;&nbsp;|&nbsp;&nbsp;<span class="edit-link">', '</span>' ); ?><?php if ( function_exists( 'ADDTOANY_SHARE_SAVE_KIT' ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?></p>

    I wants everything to be in one line and not as it is now on the website : http://tristram.net.pl/

    https://wordpress.org/plugins/add-to-any/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.