• Resolved GEOTutoriales

    (@geotutoriales)


    Hello Chan

    I’m using the Version 1.84 of the plugin and followed the instruction to update from 1.83.1 to 1.84 that you wrote in other support ticket.

    My question is about the url at the end of the following code (that I added to my functions.php)

    add_filter( ‘wp_postratings_site_logo’, ‘wp_postratings_site_logo’ );
    function wp_postratings_site_logo( $url ) {
    return ‘http://placehold.it/350/150.png’;
    }

    Its seems is only something generic. Right?. Can I replace this image with a logo of my brand?. Because when I use Google Structured Data Testing Tool I get the following (extracted)

    publisher [Organization]:
    name: Gestión de Operaciones
    logo [ImageObject]:
    url: http://placehold.it/350/150.png

    Thanks in advance
    GEOTutoriales

    https://wordpress.org/plugins/wp-postratings/

Viewing 1 replies (of 1 total)
  • Plugin Author Lester Chan

    (@gamerz)

    Yes you can and you are supposed to. WP doesn’t have any API for me to get the site’s logo/banner and hence I make it something generic.

Viewing 1 replies (of 1 total)

The topic ‘Can I replace the Image http://placehold.it/350/150.png ?’ is closed to new replies.