• Resolved fluiditystudio

    (@fluiditystudio)


    I have noticed that in wordpress-seo/admin/formatter/class-metabox-formatter.php you have “na” – “Readability: Not available” in the code, but “Not available” with the value of “na” does not show up in the dropdown as a selection option.

    'show_markers'          => apply_filters( 'wpseo_enable_assessment_markers', true ),
    			'publish_box'           => array(
    				'labels' => array(
    					'content' => array(
    						'na'   => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'Readability: %1$sNot available%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'bad'  => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'Readability: %1$sNeeds improvement%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'ok'   => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'Readability: %1$sOK%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'good' => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'Readability: %1$sGood%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    					),
    					'keyword' => array(
    						'na'   => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'SEO: %1$sNot available%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'bad'  => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'SEO: %1$sNeeds improvement%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'ok'   => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'SEO: %1$sOK%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    						'good' => sprintf(
    							/* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
    							__( 'SEO: %1$sGood%2$s', 'wordpress-seo' ),
    							'<strong>',
    							'</strong>'
    						),
    					),
    				),
    			),
Viewing 7 replies - 1 through 7 (of 7 total)
  • Looks like your a developer trying to integrate… i would wait a bit and go fishing.

    They are having issues Git hub trunk is behind SVN and Branch rc1 was partial merged… They need to work out the publicly available code to be what they are running as Release in house before I would try to integrate anything.

    Plugin Support Michael Ti?a

    (@mikes41720)

    We can’t offer support on custom code (needed to change (core) features of our plugin).

    Since we don’t want to take the risk that we break your website by suggesting incorrect or incomplete code, we cannot advise you on how to make such changes. Maybe someone watching these forums can assist you further, but if your topic is inactive for 7 days, we’ll mark it as resolved to keep the overview.

    Thank you for your understanding.

    Thread Starter fluiditystudio

    (@fluiditystudio)

    I’m not looking to integrate custom code. I was merely pointing out with the code I posted, that the option for the filter “Readability: Not available” is in your plugin code, but it is not an option available to select in the dropdown from the admin to filter the results. The code posted was exact code from the plugin. I’m trying to find out and understand why the option that appears to be there in the code does not actually show up as an option in the plugin dropdown filter.

    Plugin Support amboutwe

    (@amboutwe)

    The readability score is calculated when a focus keyword is added. To filter for ‘Not available’ readability scores, please use the SEO Score drop-down and select ‘SEO: No Focus Keyword’.

    Thread Starter fluiditystudio

    (@fluiditystudio)

    That doesn’t work. I need to filter out to show only the gray circle under “readability score”. That has the class of “na” on it and in your plugin code (wordpress-seo/admin/formatter/class-metabox-formatter.php) I first shared, it shows..

    'na'   => sprintf(
        /* translators: %1$s expands to an opening strong tag, %2$s expands to a closing strong tag. */
        __( 'Readability: %1$sNot available%2$s', 'wordpress-seo' ),
        '<strong>',
        '</strong>'
    ),

    as though this should be an option in the dropdowns with the “bad, ok & good”. However, there is no selection showing for the “Readability: Not available”. Why does it show in your code as an option, but not show up in your plugin?

    Plugin Support Md Mazedul Islam Khan

    (@mazedulislamkhan)

    While we are unable to confirm why the na readability value isn’t appearing, you can submit an issue report here to get an answer directly from our development team. If there’s an issue with this, it will be marked as a bug.

    Closed. No further questions.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Readability Filter “Not available” is not showing in dropdown’ is closed to new replies.