Forum Replies Created

Viewing 7 replies - 16 through 22 (of 22 total)
  • mulkitpin

    (@mulkitpin)

    There is a lot of strange things in /vendor/ folder added in this release!
    … and other folders (vendor_prefixed , src) which is not clear why are here.

    mulkitpin

    (@mulkitpin)

    The same here… there is a conflict between Yoast 9.2.x and WPML plugin, which crash some editable area in backend.
    You should revert from 9.2 to 9.1 at least until Yoast or WPML fix this issue.

    @mazedulislamkhan
    Thanks to have open a ticket!

    The thing is quite simple.
    With theme with “your latest post” set for front page, the facebook og became the latest post’s one in home page.
    If i disable the “is_front_page()” statement in your code, the og became the default one set in Social → Social → Facebook page – default setting.

    With my theme (Helm) i don’t have a “real” homepage page, but it’s dinamically created by theme.
    So Yoast SEO create the og meta with “your latest post” instead of “is_front_page” … or better “is_front_page” works as “your latest post”… and the “is_front_page” setting in social-facebook yoast section doesn’t work.

    • This reply was modified 6 years, 4 months ago by mulkitpin.
    • This reply was modified 6 years, 4 months ago by mulkitpin.
    • This reply was modified 6 years, 4 months ago by mulkitpin. Reason: correct

    Yes, i can confirm that this bug comes with the new 7.8 version.

    • This reply was modified 6 years, 4 months ago by mulkitpin.

    @samuraisatoshi

    You can fix this (at least until they fix it on some next updates) modifing this core file

    /wordpress-seo/frontend/class-opengraph-image.php

    go to

    /**
    * Sets the images based on the page type.
    *
    * @return void
    */
    private function set_images() {
    /**
    * Filter: wpseo_add_opengraph_images - Allow developers to add images to the OpenGraph tags.
    *
    * @api WPSEO_OpenGraph_Image The current object.
    */
    do_action( 'wpseo_add_opengraph_images', $this );
    switch ( true ) {
    case is_front_page():
    $this->set_front_page_image();
    break;

    and change to this

    /**
    * Sets the images based on the page type.
    *
    * @return void
    */
    private function set_images() {
    /**
    * Filter: wpseo_add_opengraph_images - Allow developers to add images to the OpenGraph tags.
    *
    * @api WPSEO_OpenGraph_Image The current object.
    */
    do_action( 'wpseo_add_opengraph_images', $this );
    switch ( true ) {
    case is_front_page():
    // $this->set_front_page_image();
    break;
    • This reply was modified 6 years, 4 months ago by mulkitpin. Reason: typo
    • This reply was modified 6 years, 4 months ago by mulkitpin.

    I have the same problem.
    This happens with themes that don’t have a static home page, but a dynamic one, and require to set “your latest post” in “Setting / Reading” wordpress Settings.
    It’s very annoying to see new features that always create problems… please at least give the possibility to disables all these new “features”…

    • This reply was modified 6 years, 4 months ago by mulkitpin.
Viewing 7 replies - 16 through 22 (of 22 total)