Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter kristipwith3

    (@kristipwith3)

    I’m sorry. I’m not familiar at all with this!

    Is this what you need?

    function get_avatar_url($get_avatar){
    preg_match(“/src='(.*?)’/i”, $get_avatar, $matches);
    return $matches[1];
    }

    // prepare quote content for output
    function zephyr_quote_content($zephyr_content) {
    if ( has_post_format( ‘quote’ ) ) {
    preg_match( ‘/<blockquote.*?>/’, $zephyr_content, $matches );
    if ( empty( $matches ) ) {
    $zephyr_content = “

    {$zephyr_content}

    “;
    }
    }
    return $zephyr_content;
    }
    add_filter( ‘the_content’, ‘zephyr_quote_content’ );

    // pagination

    function zephyr_pagination($pages = ”, $range = 2) {
    if ( !get_theme_mod(‘zephyr_infinite’) ) {
    $showitems = ($range * 2)+1;
    global $paged;
    if(empty($paged)) $paged = 1;
    if($pages == ”) {
    global $wp_query;
    $pages = $wp_query->max_num_pages;
    if(!$pages) {
    $pages = 1;
    }
    }

    Thread Starter kristipwith3

    (@kristipwith3)

    I can get into my error log. I’m not sure what you need to see though.

    15-May-2015 15:11:24 UTC] PHP Fatal error: Cannot redeclare get_avatar_url() (previously declared in /home2/pyattfox/public_html/wp-includes/link-template.php:3414) in /home2/pyattfox/public_html/wp-content/themes/zephyr/zephyr-includes/zephyr-functions.php on line 34

    Last lines.

    Thread Starter kristipwith3

    (@kristipwith3)

    I am able to access different themes. As soon as I try and go back to Zephyr, it is white

Viewing 3 replies - 1 through 3 (of 3 total)