• Hello!

    I have a code to place the category text underneeth the blogs instead of above, but now the text shows below and above. Can someone help me with solving this?

    I use the following code:

    add_action( ‘wp’, function() {
     remove_action( ‘generate_after_archive_title’, ‘generate_do_archive_description’ );

    ?if ( is_archive() ) {
    ?add_action( ‘generate_after_main_content’, ‘generate_do_archive_description’ );
    ?}
    ?} );

    I tried to solve it with ChatGPT but the alternative codes ChatGPT gives me also don’t work.

    Thank you so much!!!!

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • ying

    (@yingscarlett)

    Hi there,

    Are you using a block element – loop template for the archive page?

    If so, it’s a GP Premium feature and we are not allowed to answer questions that are related to GP Premium per WP’s regulation.

    Would you please open a topic in GP’s Premium support forum? We will be happy to help!

    A note for you, when you are using loop template, it overrides the theme template, so all those GP hooks you used in your code do not work anymore.

Viewing 1 replies (of 1 total)
  • The topic ‘Snippet Generatepress doesn’t work’ is closed to new replies.