Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #204532

    Ohia.Wins
    Participant
    This reply has been marked as private.
    #204567

    Ohia.Wins
    Participant
    This reply has been marked as private.
    #205288

    Rad
    Moderator

    Hi there,

    Not having content on top of blog and portfolio feed is made on purpose. Any modification to that default setup should fall under custom development as that requires much attention than small tweaking. And if you require multi lingual, then that requires more custom development because some plugins handles translation different (eg. duplicate contents ).

    And not having a content should not affect how SEO should perform, they have their own respective fields that are provided by the plugin you’re using (title, keywords, description, and etc that can be defined throught the options provided by SEO plugin). You can see websites that have no contents on their home page, but just static images and yet they get indexed higher based on the keywords they promote.

    Now, back to your last question 🙂

    You can’t add content above the portfolio feed. The feed are simply items of masonry layout (grid cell), and if you add content within that area, your content will be probably treated as one of them. But since your content is not a valid portfolio item, then that will break your layout. Then that should be added outside the feed.

    Instead of previous suggestions, try this. Add this code at your child theme’s functions.php

    add_action('x_after_view_global__script-isotope-portfolio', 'enable_content_p'); //portfolio
    
    function enable_content_p () {
    $page = get_page( get_the_ID());
    echo '<div class="portfolio-page-content">'.do_shortcode($page->post_content).'</div>';
    }

    This simply add the content right after the filter and before the feed layout. There is no need for template modification.

    —-
    What discussed here will only work on single language, further custom development should be forwarded to your dedicated developer.

    Thanks!