Minimal Blog – Cannot modify header information

Home Forums All Other Themes Minimal Blog – Cannot modify header information

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #207928
    Karsten LawrenzKarsten Lawrenz
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: September 23, 2023

    Hello,

    I hope you can help me with the error “Cannot modify header information.” I have created pages where I want to display my categories. On these pages, I intend to use shortcodes, but when I try to update the page, I encounter this error:

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/lawrenz.dk/socialmind.dk/site/wp-content/themes/minimal-blog/inc/custom-functions.php:950) in /var/www/lawrenz.dk/socialmind.dk/site/wp-admin/post.php on line 231

    The page can still be displayed in preview.

    The shortcode I am using is:

    [row_area][largfullpost2 catname=”mennesket” excerptlength=”20″ readmore=”” showposts=”8″][/row_area]
    [clear]
    [ajax_load_more_post catname=”” excerptlength=”20″ readmore=”” loadmore=”See more”]

    Best regards,
    Karsten
    website: https://socialmind.dk/site/

    #207966
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31006
    • Total: 31006
    Member since: August 16, 2013

    Hi,

    Kindly put Complete shortcode in shortcode block as given below.

    [left_content]
      [sliderpost catname="" excerptlength="60" readmore="Read More"]
      [clear]
      [row_area][largfullpost2 catname="" excerptlength="23" readmore="Read More" showposts="4"][/row_area]
      [clear]
      [largfullpost3 catname="" excerptlength="30" readmore="Read More" showposts="2"]
      [clear]
      [ajax_load_more_post catname="" excerptlength="" readmore="" loadmore="Load More"]
    [/left_content]

    https://sktthemesdemo.net/documentation/minimalblog-documentation/

    Regards,
    Chris

    #207993
    Karsten LawrenzKarsten Lawrenz
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: September 23, 2023

    Hello again,

    It’s set up correctly, and the shortcode [ajax_load_more_post catname=”” excerptlength=”” readmore=”” loadmore=“Load More”] works fine on the front page.

    The issue arises when I use it on other pages or posts sites. All other shortcodes work fine on the pages or posts I use them on.

    Regards,
    Karsten

    #207999
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31006
    • Total: 31006
    Member since: August 16, 2013

    Hi,

    Kindly send us your page url where you want to add this shortcode and WordPress admin details (Username & Password) via email:[email protected] Please mention this forum URL while replying so that we understand what needs to be done.

    We’ll check and revert back to you.

    Regards,
    Chris

    #208002
    Karsten LawrenzKarsten Lawrenz
    Participant
    • Topics: 6
    • Replies: 8
    • Total: 14
    Member since: September 23, 2023

    Thank you for the your response.

    I would like to come back to the issue, at a later time.

    I hope that’s okay with you?

    Regards, Karsten.

    #208016
    Sonl SinhaSonl Sinha
    Moderator
    • Topics: 0
    • Replies: 31006
    • Total: 31006
    Member since: August 16, 2013

    Okay Cool.

    Regards,
    Chris

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