Forum Replies Created

Viewing 7 replies - 76 through 82 (of 82 total)
  • Matias Mann

    (@developress)

    You are inserting the video, that´s why wordpress shows it in the post.
    To open the video in a new window, insert a link to the video

    1) In a Paragraph block add some text: “This is the text link”
    2) Select the text and create a link with the URL of the youtube video.
    3) Set the link to open in a new window.
    4) Done!

    Here is a screenshot: https://pasteboard.co/J5hSER1.png

    Matias Mann

    (@developress)

    I would advice to use a plugin such as Yoast.

    If you want to do it manually.
    1) In your theme functions add:

    /**
     * Modify Meta Description on Single Posts
     */
    function developress_meta_description() {
    	global $post;
    	// Get the description meta from a custom field
        if ( is_single() ) {
    		$description_meta = get_post_meta($post->ID, 'description_meta', true);
            $description_meta = strip_tags( $description_meta);
            $description_meta = strip_shortcodes( $description_meta );
            $description_meta = str_replace( array("\n", "\r", "\t"), ' ', $description_meta );
            $description_meta = mb_substr( $description_meta, 0, 300, 'utf8' );
            echo '<meta name="description" content="' . $description_meta . '" />' . "\n";
        }
    }
    add_action( 'wp_head', 'developress_meta_description');

    2) In each post you want to add a meta description. create a custom field named “description_meta”

    This is for the meta description. For the title it can be done with a title filter.

    Matias Mann

    (@developress)

    What theme are you using?

    Activate the default theme and check if the problem persists. If not, it is a theme related issue.

    Matias Mann

    (@developress)

    1) Go to Settings > Permalinks.
    2) Save the configuration to flush the permalinks.
    Check if it works.

    Have you updated wordpress recently?

    Matias Mann

    (@developress)

    Is it still happening? It looks good on my end.

    Matias Mann

    (@developress)

    Try activating the default theme.
    If the menu appears in the location it is a theme related issue.

    Matias Mann

    (@developress)

    Wordpress shows by default your pages as menu when no menu is created or when no menu is assigned to the menu location.

    You probably did not assign the menu to its location.
    1) Go to wp admin.
    2) Go to Appearence > Menus.
    3) Click on “Manage Locations” tab.
    4) Set your menu to the location you want.
    5) Save.

Viewing 7 replies - 76 through 82 (of 82 total)