Search Results for 'blog admin'

  • mgregg
    Participant
    This reply has been marked as private.
    mishkadaries
    Participant
    This reply has been marked as private.
    y2jmj
    Participant
    This reply has been marked as private.
    y2jmj
    Participant
    This reply has been marked as private.

    In reply to: admin author in blog

    Sini
    Participant

    I have a user “Mari” which is an author in these blog posts.

    Still, in blog post it shows that author is “admin”.

    As mentioned earlier in this same ticket, I tried to fix the bug in your code but it wouldn’t work.

    Also, as mentioned earlier, this bug should be fixed by you but I can’t update my theme to the latest version. 5.2.4. is the latest version that I can download from theme forest and I can’t install envato market plugin, because it says “Something went wrong with the plugin API.”

    Please note, that page has been moved and now can be found https://raahenmaa.com

    same credentials are still working.

    • This reply was modified 5 years, 5 months ago by Sini.
    Sini
    Participant

    Hi,

    I have blog post in my site and I have set the author as the name. Still in blog post the author is “admin”. I tried the fix from here:

    https://support.codeless.co/?action=bbp-search-request&bbp_search=blog+admin

    but it does not help.

    Best regards,

    Sini

    Ruco
    Keymaster

    Hello,

    We have fixed this and will update the theme with this issue resolved.

    For the moment you can fix this by replace the file \templates-parts\blog\parts\entry-content.php with the lines below:

    <?php
    
    // Display excerpt if auto excerpts are enabled in the admin
    if ( codeless_get_mod( 'blog_excerpt', true ) && ( ! is_single() || codeless_get_from_element('blog_from_element', false) ) ) :
    
        if( get_the_excerpt() == '' ){
            $content    = get_the_content();
            $content    = preg_replace("~(?:\[/?)[^/\]]+/?\]~s", '', $content);
    
        if(is_search()){
    
              preg_match_all('/\[cl_(.*?)\]/', $content, $matches_vc );
    
               if ( isset($matches_vc[0]) && !empty($matches_vc[0]) )
                    
                    return; 
    
         } 
    
            echo  wp_trim_words( $content, codeless_get_mod('blog_excerpt_length', 40), ' [...]' );
        }
    
        else {
    
        if(is_search()){
              $content    = get_the_content();   
              preg_match_all('/\[cl_(.*?)\]/', $content, $matches_vc );
             
           
    
               if ( isset($matches_vc[0]) && !empty($matches_vc[0]) )
                    
                    return; 
    
         } 
    
            the_excerpt();
    
        }    
    
    // If excerpts are disabled, display full content
    else :
        
        codeless_hook_post_content_begin();
    
        $content    = get_the_content();
    
        $content    = str_replace(']]>', ']]>', apply_filters( 'codeless_the_content' , $content ));
    
        $page_header = codeless_extract_page_header($content);
        $content    = codeless_strip_shortcode_gallery( str_replace($page_header, '', $content ) );
    
        if(is_search()){
    
              preg_match_all('/\[cl_(.*?)\]/', $content, $matches_vc );
    
               if ( isset($matches_vc[0]) && !empty($matches_vc[0]) )
                    
                    return; 
    
         }   
    
        echo apply_filters('the_content', $content ); 
    
        codeless_hook_post_content_end();
                			
    endif; 
    			
    wp_link_pages( array(
        'before'      => '<div class="page-links">' . __( 'Pages:', 'handel' ),
        'after'       => '</div>',
        'link_before' => '<span class="page-number">',
        'link_after'  => '</span>',
    ));

    Let us know.

    Regards!

    Kim_Schoenrock
    Participant
    This reply has been marked as private.
    edmondhoconnor
    Participant
    This reply has been marked as private.
    fordebaker
    Participant

    Hi,

     

    This doesn’t appear to have fixed the issue.  I’ve refreshed and updated posts but I’m still seeing Admin as the author.

    https://fordebaker.com/blog/when-and-why-you-should-recruit-a-marketing-agency-consultant-or-in-house-team/

     

    Mirela
    Participant

    Hello,

    This is strange. i tested this and there is no problem.
    Please go to file includes/codeless_functions_blog.php, find this function: codeless_get_entry_meta_author()
    Replace all code with this:

    /**
     * Generate Post Entry Meta Author
     * 
     * @since 1.0.0
     */
    function codeless_get_entry_meta_author(){
        
        $author_name = get_the_author();
        
        // Sanitize to not show empty author on customize preview partial refresh
        if( empty( $author_name ) || is_customize_preview() )
            $author_name = __( 'admin', 'handel' );
        
        // Get the author name; wrap it in a link.
    	$author = sprintf(
    		/* translators: %s: post author */
    		__( '%s', 'handel' ),
    		'<span class="author"><a href="' . esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ) . '">' . $author_name . '</a></span>'
    	);
    	
    	return $author;
    }
    

    Please refresh posts and let us know.

    Best regards!

    fordebaker
    Participant

    Hi,

    When publishing a blog post I have set the author as myself. My name shows on the blog category page but on the actual blog post the author is set to Admin. I have correctly selected myself as the author of the posts in the CMS. The Admin doesn’t exist so it leads to a 404 error. How do I rectify this so the post shows my name as the author?

    Thanks.

     

    In reply to: Header

    Marcobelli
    Participant
    This reply has been marked as private.
    nicolasrnt
    Participant

    Hi I have some issues with my website :

    1) Anchor link : I have set an anchor link on the menu (#team) and I have set the team section row id to #team but my link doesn´t work, the page won´t scroll.

    2) I have set a button in the top navigation bar but I can´t change the link. When I click on it nothing appears in the builder sidebar (see screenshot)

    https://www.obfinder.com/wp-content/uploads/2018/07/Capture-d’écran-2018-07-10-à-10.53.27.png

    3) The biggest trouble I have is with the blog posts. Does the builder works with blog posts ? Because I am only able to write text in the back office, with the live builder i can´t manage to add element or even change text. And in the backoffice, the administrator editor doesn´t even work for blog posts, only the classic mode.

    https://www.obfinder.com/wp-content/uploads/2018/07/Capture-d’écran-2018-07-10-à-10.34.35.png

    I have all third party plugins desactivated and I think I have the last version of Folie.

    Can you help me out ? Thanks a lot

    Website is :    https://www.obfinder.com/

    ckiwscan100
    Participant
    This reply has been marked as private.
Viewing 15 results - 76 through 90 (of 141 total)