New Landing How can we help? Themeforest Theme Support Dante Excerpt length on tag page

Viewing 15 posts - 16 through 30 (of 31 total)
  • Posted in: Dante
  • #303071
    David Martin – Support
    Moderator
    Post count: 20834

    Please add your FTP details.

    #303125
    3lias
    Member
    Post count: 128

    We do not have an FTP access; I don’t understand why you need them anyway?

    I only added the code you have provided and now the excerpt “…” looks like out of place ant not in the <p>: https://www.froglogic.com/blog/

    #303452
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    We need to check the code, all servers have ftp access if you don’t want to provide say so but is difficult for us without looking at your file it only takes us more time.

    -Rui

    #303470
    3lias
    Member
    Post count: 128

    I have asked our server admin but he said he wouldn’t give an FTP access to the server. Sorry. Maybe you can still work something out which would be great.

    #303867
    David Martin – Support
    Moderator
    Post count: 20834

    Please test adding the custom excerpt to one post, so it’s not using the default excerpt.

    Please again ask for the FTP details.

    Thanks.

    #304492
    3lias
    Member
    Post count: 128

    Hello David,

    I’ll try what you have suggested but what is the point by not using the default excerpt? Also we have many entries already and I am not going to every each of them to change the excerpt.

    The Admin still says he won’t give out any server details or access. As we are using the default Dante installation you should be able to see the excerpt issue on your side as well and try to fix it.

    Elias

    #304995
    David Martin – Support
    Moderator
    Post count: 20834

    Hi Elias,

    If your server cannot provide the details we will see what we can do our end.

    Using our excerpt is handy if you are also using the Page Builder.

    Thanks.

    #309846
    3lias
    Member
    Post count: 128

    Hello.

    Did you guys come up with a excerpt solution yet?

    Elias

    #310073
    David Martin – Support
    Moderator
    Post count: 20834

    If you do not want to add a custom excerpt, the code needs to be altered to grab the default WP excerpt. On my local dev, I use this: http://pastie.org/private/9wd2taqjgnx5had6khdq (Must be within the child theme as previously instructed).

    That output’s this:

    I’d strongly recommend you simply use the Custom Excerpt Option we provide.

    #310220
    3lias
    Member
    Post count: 128

    Ok. Thanks for the follow up.

    #310221
    3lias
    Member
    Post count: 128

    I don’t see in pages a Custom Excerpt is there one as well?

    #310223
    David Martin – Support
    Moderator
    Post count: 20834

    #311114
    3lias
    Member
    Post count: 128

    Hi David,

    that is strange.

    Our page meta tab looks like in the picture (Screenshot_1.png) below and is missing the custom excerpt.

    But in posts I have this custom excerpt. (Screenshot_2.png)

    It just seemed to be missing in pages then. Can this be added in the next update or is there a way to access this right now?

    Elias

    Attachments:
    You must be logged in to view attached files.
    #311120
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Guess the David screenshot if from the posts and not the pages. In WordPress the concept of excerpt doesn’t exist in the pages.

    -Rui

    #311148
    3lias
    Member
    Post count: 128

    I’ve found a solution which works for the excerpt in pages:

    	function my_add_excerpts_to_pages() {
         add_post_type_support('page', 'excerpt');
    	}
    	add_action('init', 'my_add_excerpts_to_pages');

    Also the excerpt length can be adjusted with less code via the functions.php with

    	function custom_excerpt_length( $length ) {
    	return 200;
    	}
    	add_filter( 'excerpt_length', 'custom_excerpt_length', 999 );

    if someone is also looking for this.

    I think this ticket can be closed 🙂

Viewing 15 posts - 16 through 30 (of 31 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register