hide numbers
-
hello good I have this function and it does not hide the numbers
https://ibb.co/pLqK74Padd_filter( 'rank_math/frontend/breadcrumb/items', function( $crumbs, $class ) { //Title is the firs key of the last sub array end($crumbs); // move the internal pointer to the end of the array $last_key = key($crumbs); // fetches the key of the element pointed to by the internal pointer //Here I don't use get_the_title because it run after filters are applied. //This causes that stars near title will appear in schema title $crumbs[$last_key][0] = get_post_field('post_title', get_the_ID(), 'raw'); // And return the breadcrumbs return $crumbs; }, 10, 2);
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘hide numbers’ is closed to new replies.