-
AuthorPosts
-
January 16, 2017 at 11:16 am #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 ?January 16, 2017 at 1:32 pm #734017what i mean is:
– ask your theme author and check with them which is the function responsible to load the the_content()
January 16, 2017 at 2:31 pm #734044Hi!
You can find “avia_excerpt” function in Enfold/framework/php/function-set-avia-frontend.php file
Regards,
YigitJanuary 16, 2017 at 2:34 pm #734047not the excerpt… the content…
January 18, 2017 at 6:53 am #735143Hi,
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"> →</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"> →</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,
IsmaelFebruary 10, 2017 at 6:05 pm #745535Hi!
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
February 17, 2017 at 11:06 am #748326Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.