skornstein

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • in reply to: Date posted #8823

    skornstein
    Participant

    I don’t think the private reply works. I just tried again and its not showing. I don’t love the idea of posting an admin account for my site to a forum. Could I email you the credentials?

    Thanks!

    in reply to: Date posted #8812

    skornstein
    Participant

    Hi Andrew,

    Can you confirm you got the username and PW? Set as private reply for obvious reasons. Thanks!

    Sam

    in reply to: Date posted #6299

    skornstein
    Participant

    Awesome, thanks. Everything is perfect.

    in reply to: Date posted #6295

    skornstein
    Participant

    All set. Thanks!

    One final question. I’ve added custom CSS to reduce the amount of space between the header and the body, but it looks like there’s spacing above the post titles. Is there a way to eliminate this, so that the tops of the titles are aligned with the top of the first widget, which in my case is a search box?

    Best support every by the way.

    in reply to: Date posted #6293

    skornstein
    Participant

    Still active, and other customm css insertions are working. It’s strange. Even when I comment out the CSS for byline, it looks the same.

    in reply to: Date posted #6291

    skornstein
    Participant

    Thanks Andrew. All fixed now, however, with the child theme, for some strange reason it now shows both the post date and update date side by side like this: Posted on April 10, 2017April 11, 2017 by Sam Kornsteinin General

    Any thoughts on an easy fix?

    in reply to: Date posted #6279

    skornstein
    Participant

    Thanks Andrew. It works! However, I wasn’t previously using a child theme, and when I added the child that came with the original puro download, some of the settings from the original changed (e.g., to show excerpts), and many of the widgets disappeared. I could manually change these back, but wasn’t sure if this was indicative of a larger issue with the child theme I set up. Any thoughts?

    in reply to: Date posted #6269

    skornstein
    Participant

    If you’re up for it, I am!

    in reply to: Date posted #6256

    skornstein
    Participant

    It works! Thank you, sir.

    Is there an easy to to put the featured image below the post title on the front page when I only show excerpts of posts? If it’s a pain, no worries. But I just switched from full posts to excerpts, and would love to switch the order.

    Thanks Andrew!

    in reply to: Date posted #6248

    skornstein
    Participant

    Hi Andrew,

    The CSS is:

    /* CSS for Byline */

    .entry-header .entry-meta span {
    display: inline-block;
    margin-right: 5px;
    }
    .entry-header .entry-meta span:before, .entry-header .entry-meta a:before {
    content: none !important;
    }
    .single .entry-header .entry-meta .entry-date:before {
    content: none;
    }
    .single #main .entry-header .entry-meta .updated {
    display: none;
    }

    And the snippet is:

    if ( ! function_exists( ‘puro_posted_on’ ) ) :
    /**
    * Prints HTML with meta information for the current post-date/time and author.
    */
    function puro_posted_on() {
    $time_string = ‘<time class=”entry-date published updated” datetime=”%1$s”>%2$s</time>’;
    if ( get_the_time( ‘U’ ) !== get_the_modified_time( ‘U’ ) ) {
    $time_string = ‘<time class=”entry-date published” datetime=”%1$s”>%2$s</time><time class=”updated” datetime=”%3$s”>%4$s</time>’;
    }
    $time_string = sprintf( $time_string,
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( get_the_date() ),
    esc_attr( get_the_modified_date( ‘c’ ) ),
    esc_html( get_the_modified_date() )
    );
    $posted_on = sprintf(
    esc_html_x( ‘Posted on %s’, ‘post date’, ‘puro’ ),
    ‘ . $time_string . ‘
    );
    $byline = sprintf(
    esc_html_x( ‘by %s’, ‘post author’, ‘puro’ ),
    ‘<span class=”author vcard”>‘ . esc_html( get_the_author() ) . ‘</span>’
    );
    $cats = sprintf(
    esc_html_x( ‘in %s’, ‘categories in’, ‘puro’ ),
    get_the_category_list( __( ‘, ‘, ‘puro’ ) )
    );
    echo ‘<span class=”posted-on”>’ . $posted_on . ‘</span><span class=”byline”> ‘ . $byline . ‘</span><span class=”cat-links”>’. $cats .'</span>’; // WPCS: XSS OK.
    }
    endif;

    Thanks!

    in reply to: OG Tag Issues #6089

    skornstein
    Participant

    Ok, thanks for the help Andrew!

    in reply to: Repeated Date #5783

    skornstein
    Participant

    Apologies for not following up. It worked perfectly. Thanks again. Love the theme.

    in reply to: Repeated Date #5722

    skornstein
    Participant

    Hi Andrew — thanks for the quick response again. Did not seem to work. Oddly, the author name is now missing on the mobile version as well. Interestingly, the date is not repeated in Chrome incognito mode or in IE, but is in normal Chrome and Edge. I’ve tried disabling all plugins, clearing cache, etc, which did not help. Any help would be appreciated!

    Just as a recap, here’s the code in Custom CSS:

    /* CSS for Byline */

    .entry-header .entry-meta span {
    display: inline-block;
    margin-right: 5px;
    }
    .entry-header .entry-meta span:before, .entry-header .entry-meta a:before {
    content: none !important;
    }
    .single .entry-header .entry-meta .entry-date:before {
    content: none;
    }
    .single #main .entry-header .entry-meta .updated {
    display: none;
    }

    /* CSS for Hover Color Change */

    #page .entry-title a:hover {
    color: #4e7cd8
    }

    /* Mobile Logo */
    @media (max-width: 768px) {
    .site-header .site-branding {
    max-width: 95%;
    }
    }

    /* Mobile Menu Icon */
    .responsive-menu .menu-toggle {
    top: 11px;
    }

    And here’s the Snippet:

    if ( ! function_exists( ‘puro_posted_on’ ) ) :
    /**
    * Prints HTML with meta information for the current post-date/time and author.
    */
    function puro_posted_on() {
    $time_string = ‘<time class=”entry-date published updated” datetime=”%1$s”>%2$s</time>’;
    if ( get_the_time( ‘U’ ) !== get_the_modified_time( ‘U’ ) ) {
    $time_string = ‘<time class=”entry-date published” datetime=”%1$s”>%2$s</time><time class=”updated” datetime=”%3$s”>%4$s</time>’;
    }
    $time_string = sprintf( $time_string,
    esc_attr( get_the_date( ‘c’ ) ),
    esc_html( get_the_date() ),
    esc_attr( get_the_modified_date( ‘c’ ) ),
    esc_html( get_the_modified_date() )
    );
    $posted_on = sprintf(
    esc_html_x( ‘Posted on %s’, ‘post date’, ‘puro’ ),
    ‘ . $time_string . ‘
    );
    $byline = sprintf(
    esc_html_x( ‘by %s’, ‘post author’, ‘puro’ ),
    ‘<span class=”author vcard”>‘ . esc_html( get_the_author() ) . ‘</span>’
    );
    $cats = sprintf(
    esc_html_x( ‘in %s’, ‘categories in’, ‘puro’ ),
    get_the_category_list( __( ‘, ‘, ‘puro’ ) )
    );
    echo ‘<span class=”posted-on”>’ . $posted_on . ‘</span><span class=”byline”> ‘ . $byline . ‘</span><span class=”cat-links”>’. $cats .'</span>’; // WPCS: XSS OK.
    }
    endif;

    in reply to: Mobile site formatting #5705

    skornstein
    Participant

    That fixed it. Thanks again! Happy new year as well.

    in reply to: Change post date and author format #5619

    skornstein
    Participant

    Hi Andrew — really appreciate the fast and helpful response! It works really well.

    On the archive page, it displays perfectly. On the individual posts, there’s a square before the date. It looks as though it’s trying to call the previous date icon. Any ideas there? Here’s an example:

    Posted on â–¡June 7, 2015 by Sam Kornstein in General

    Also, I’d like to donate some more to you since you’ve been so helpful. Can you send a PayPal link?

Viewing 15 posts - 1 through 15 (of 15 total)
Scroll to top