Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #733974

    Hi,

    what is the function you use fot the_content ?
    I need to add support for wptoolset tools and your theme seems to have custom function as it can’t parser automatically the_content…
    if i put load_template function it’s ok but id’rather specific function per the_content.
    Can u tell please ?

    #734017

    what i mean is:

    – ask your theme author and check with them which is the function responsible to load the the_content()

    #734044

    Hi!

    You can find “avia_excerpt” function in Enfold/framework/php/function-set-avia-frontend.php file

    Regards,
    Yigit

    #734047

    not the excerpt… the content…

    #735143

    Hi,

    Which specific element or template are you referring to? If you’re talking about the posts, you can find the function in the includes > loop-index.php file.

    $current_post['content'] 	= $blog_content == "content" ? get_the_content(__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span>') : get_the_excerpt();
    	$current_post['content'] 	= $blog_content == "excerpt_read_more" ? $current_post['content'].'
    <div class="read-more-link"><a href="'.get_permalink().'" class="more-link">'.__('Read more','avia_framework').'<span class="more-link-arrow">  &rarr;</span></a></div>
    ' : $current_post['content'];
    

    The theme is using the get_the_content or the get_the_excerpt function, depends on the blog posts settings.

    Best regards,
    Ismael

    #745535

    Hi!

    I need this aswell! => the_content
    What function does enfold use?

    Content Templates modify the content when called from the_content function. Some themes don’t use this function, but define their own. If Content Templates don’t work with your theme then you can enter the name of the function your theme uses.

    locate_template seems to work BUT messes up the styling of the footer, as it somehow is inside the content and takes on the alternate_styling instead of being a standalone footer.

    More info:

    Any help appreciated!

    T

    #748326

    Hey!

    The function was stated here:

    // https://kriesi.at/support/topic/main-the_content-function/#post-735143

    The theme is using the get_the_content or the get_the_excerpt function depending on the blog posts settings.

    Regards,
    Ismael

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.