Projects

Marketplace Forums Themes my way Projects

This topic contains 3 replies, has 2 voices, and was last updated by  mythemes 6 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1845

    adamknight
    Member

    Hi,

    Wondering if there’s a way of removing the User name/bio/picture from the projects that appear when the project shortcode is inserted on to a page? I would just like a title and excerpt from the project itself to appear on the box that expands when you hover over the project’s featured image.

    Hope that makes sense, thanks,

    Adam

    #1846

    mythemes
    Keymaster

    yes, look in :
    my-way-premium/fw/plg/my_shortcodes/my_sc_posts.php

    for version ( 0.0.3 )
    remove lines : 439 – 457

    $firstName = get_the_author_meta( 'first_name' , $post-> post_author );
    $lastName = get_the_author_meta( 'last_name' , $post-> post_author );
    $printName = get_the_author_meta( 'display_name' , $post-> post_author );
    $web = get_the_author_meta( 'url' , $post-> post_author );
    
    if( strlen( $firstName . $lastName ) )
    $name = $firstName . ' ' . $lastName;
    else
    $name = $printName;
    
    $link = '';
    if( !empty( $web ) )
    $link = '<span class="author-web-site"><a href="" title="' . __( 'Author web site' , 'myTheme' ) . ': ' . $web . '">' . $web . '</a></span>';
    
    $rett .= '<div class="author">';
    $rett .= get_avatar( $post -> post_author , 35 );
    $rett .= '<span class="author-url"><a href="' . get_author_posts_url( $post -> post_author ) . '">' . $name . '</a></span>';
    $rett .= $link;
    $rett .= '</div>';
    

    P.S. for my-way premium version look here : http://mythem.es/forums/forum/themes/my-way/my-way-premium-support/

    #1851

    adamknight
    Member

    Thanks, unfortunately I can’t seem to get it to work and there seems to be some kind of broken link for my projects (when I click on them from the home screen or even type the URL directly, error message 404 comes up saying the page cannot be found). I really have no idea how to fix the problem!

    #1852

    mythemes
    Keymaster

    go to yoursite/wp-admin/

    Here go to Settings > Permalinks and Save it ( is need to reset permalinks, after save permalinks will reset ).

    if problem persist give me your site URL ( via contact form )

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

merdian-mariko@mailxu.com balter.22@mailxu.com