The problem with php code
-
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(', '); }?> <?php if(comments_open( get_the_ID() )) { ?><img alt="" src="<?php echo get_template_directory_uri(); ?>/images/smt/comments.png"> <span class="meta_comments"><?php comments_popup_link( $SMTheme->_( 'noresponses' ), $SMTheme->_( 'oneresponse' ), $SMTheme->_( 'multiresponse' ) ); ?></span><?php } ?><?php edit_post_link( $SMTheme->_( 'edit' ), ' | <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 : https://tristram.net.pl/
- The topic ‘The problem with php code’ is closed to new replies.