' . esc_html__( 'Posted in %1$s', 'bigseotheme' ) . '', $categories_list ); } $tags_list = get_the_tag_list( '', esc_html__( ', ', 'bigseotheme' ) ); if ( $tags_list ) { printf( '', $tags_list ); } } if ( ! is_single() && ! post_password_required() && ( comments_open() || get_comments_number() ) ) { echo ''; comments_popup_link( sprintf( wp_kses( __( 'Leave a Comment on %s', 'bigseotheme' ), array( 'span' => array( 'class' => array() ) ) ), get_the_title() ) ); echo ''; } edit_post_link( sprintf( esc_html__( 'Edit %s', 'bigseotheme' ), the_title( '"', '"', false ) ), '', '' ); } } function bigseotheme_pagination() { echo '
'. bigseotheme_get_option_page('subtitle') . '
'; } function bigseotheme_social_sharing_buttons() { // Get current page URL $socialURL = get_permalink(); // Get current page title $socialTitle = str_replace( ' ', '%20', get_the_title()); // Get Post Thumbnail for pinterest $socialThumbnail = wp_get_attachment_image_src( get_post_thumbnail_id( get_the_ID() ), 'full' ); // Construct sharing URL without using any script $twitterURL = 'https://twitter.com/intent/tweet?text='.$socialTitle.'&url='.$socialURL; $facebookURL = 'https://www.facebook.com/sharer/sharer.php?u='.$socialURL; $googleURL = 'https://plus.google.com/share?url='.$socialURL; $bufferURL = 'https://www.linkedin.com/shareArticle?mini=true&url='.$socialURL.'&title='.$socialTitle; $pinterestURL = 'https://pinterest.com/pin/create/button/?url='.$socialURL.'&media='.$socialThumbnail[0].'&description='.$socialTitle; // Add sharing button at the end of page/page content $social = ''; echo $social; }; function bigseotheme_the_category() { $category = get_the_category(); return $category[0]->cat_name; } add_filter( 'woocommerce_enqueue_styles', '__return_false' ); /*--------------------------- add_action('category_add_form_fields','add_extra_fields_to_category'); function add_extra_fields_to_category($taxonomy_name){ ?>