• Resolved jankiiahir

    (@jankiiahir)


    REQUIRED:.sticky css class is needed in your theme css.
    REQUIRED:.bypostauthor css class is needed in your theme css.
    REQUIRED: This theme doesn’t seem to display tags. Modify it to display tags in appropriate locations.
    WARNING: The theme uses the add_shortcode() function. Custom post-content shortcodes are plugin-territory functionality.
    REQUIRED: The <title> tags can only contain a call to wp_title(). Use the wp_title filter to modify the output
    REQUIRED: Found a Customizer setting that did not have a sanitization callback function. Every call to the add_setting() method needs to have a sanitization callback function passed.
    RECOMMENDED: Possible variable $themename found in translation function in shortcodes.php. Translation function calls must NOT contain PHP variables.
    Line 999: description: ‘<?php esc_html_e( ‘Type of the box’, $themename ); ?>’,
    RECOMMENDED: Possible variable $themename found in translation function in shortcodes.php. Translation function calls must NOT contain PHP variables.
    Line 997: name: ‘<?php esc_html_e( ‘Type’, $themename ); ?>’,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Those are all pretty much self-expalnatory.

    As an example:

    REQUIRED:.sticky css class is needed in your theme css.

    That says that you need to add a CSS class of .sticky in your stylesheet. That’s all you need to do to stop that message.

    Just work through each of these messages in turn, and you’ll get them fixed very soon.

    Thread Starter jankiiahir

    (@jankiiahir)

    Dear Catacaustic,

    i google it so many time about “$themename” but didn’t get solution.
    $themename recommendedtion coming so many time in theme check. please if you’ve any idea then update me…

    Thanks
    Jankii

    RECOMMENDED: Possible variable $themename found in translation function in shortcodes.php. Translation function calls must NOT contain PHP variables.
    Line 997: name: ‘<?php esc_html_e( ‘Type’, $themename ); ?>’,

    I’ve bolded the important parts. You are not supposed to pass variables to the translation functions. It’s meant to be a standard string because a variable cna be changed, and that’s not what you want for that area.

    Thread Starter jankiiahir

    (@jankiiahir)

    I Got it..
    Thanks catacaustic..!! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Theme Check Error / Required… Need Solution..’ is closed to new replies.