How to make line breaks keywords, link rel = “canonical ?
-
Hello everyone, how to transfer the lines keywords, link rel = “canonical, otherwise everything goes in one line, in the source code?, Together with meta name =” description, but I need everything from a new line.
As I understand it, the file aioseop_class.php is responsible for this, and I don’t know what to change there, I installed version 3.7.1// Get the keywords. $togglekeywords = 0; if ( isset( $aioseop_options['aiosp_togglekeywords'] ) ) { $togglekeywords = $aioseop_options['aiosp_togglekeywords']; } if ( $togglekeywords == 0 && ! ( is_front_page() && is_paged() ) ) { $keywords = $this->get_main_keywords(); $keywords = $this->apply_cf_fields( $keywords ); $keywords = apply_filters( 'aioseop_keywords', $keywords ); if ( isset( $keywords ) && ! empty( $keywords ) ) { if ( isset( $meta_string ) ) { $meta_string .= "\n"; } $keywords = wp_filter_nohtml_kses( str_replace( '"', '', $keywords ) ); $key_attr = apply_filters( 'aioseop_keywords_attributes', '' ); $meta_string .= sprintf( "<meta name=\"keywords\" %s content=\"%s\" />\n", $key_attr, $keywords ); } }
$url = apply_filters( 'aioseop_canonical_url', $url ); if ( ! empty( $url ) ) { echo '<link rel="canonical" href="' . esc_url( $url ) . '" />' . "\n";
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to make line breaks keywords, link rel = “canonical ?’ is closed to new replies.