• Hi guys im really struggling to figure out my problem.

    I have set a static page for my home page and set the blog page to view my posts. However, the posts are not showing on the blog page.

    I am using a custom theme, and when I live preview the default theme the blog posts show up.

    What is wrong with the custom theme!? ??

    Cheers in advance.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mohsinmohammed

    (@mohsinmohammed)

    my blog should show up on https://www.simplyshisha.co.uk/blog-2/ btw.

    Impossible for us to say with so little information. Sounds like there’s an issue with your theme’s index.php template file. Try turning debug on and enabling error logging.

    Thread Starter mohsinmohammed

    (@mohsinmohammed)

    Ok esmi, so what I did was edit the wp-config.php file and change define(‘WP_DEBUG’, true); to true.

    I received the following errors on my page:

    Home Page:

    Notice: Undefined index: exclude_portfolio_from_blog in /var/sites/s/simplyshisha.co.uk/public_html/wp-content/themes/u-design/functions.php on line 1822

    Notice: Undefined index: enable_search in /var/sites/s/simplyshisha.co.uk/public_html/wp-content/themes/u-design/functions.php on line 1921

    Blog Page:

    Notice: Undefined index: exclude_portfolio_from_blog in /var/sites/s/simplyshisha.co.uk/public_html/wp-content/themes/u-design/functions.php on line 1822

    Notice: Undefined index: enable_search in /var/sites/s/simplyshisha.co.uk/public_html/wp-content/themes/u-design/functions.php on line 1921

    Warning: Cannot modify header information – headers already sent by (output started at /var/sites/s/simplyshisha.co.uk/public_html/wp-content/themes/u-design/functions.php:1822) in /var/sites/s/simplyshisha.co.uk/public_html/wp-includes/pluggable.php on line 1121

    I’m sorry but as you appear to be using a commercial theme, you need to seek support from the theme’s developer/vendor. We do not have access to, nor do we support, commercial products here.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Posts not showing on Blog Page’ is closed to new replies.