Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #1308657
Masonry Grid Blog
Closed

Comments

  • jorenwouters started the conversation

    Hello,

    See the first attachment. When I hover over an article, an icon appears, can I remove this?

    Besides that, I want that  images and quotes post types don't like to the single post page, how do I achieve that?



    Regards,

    Joren

  •  4,773
    Michael replied

    Hi,

    Please share admin access. We will try to inspect problem on your site.

  • jorenwouters replied

    Hello,


    You can login at www.reddle.nl/deux/wp-admin

    Username: thegemsupport

    Password: CZ#8v8J2sdZZu$D0v@bD(B)u


    Regards,

    Joren

  •  4,773
    Michael replied

    Sorry, your login/password is not correct.

  • jorenwouters replied

    Hello,


    Could you try it again now?



    Regards,
    Joren

  •  4,773
    Michael replied

    1)pls. use following css:

    body .blog article .post-featured-content > a:after, body .blog .gem-simple-gallery .gem-gallery-item a:after {
    content: ' ' !important;
    }
    body .blog article .post-featured-content > a:hover:after, body .blog .gem-simple-gallery .gem-gallery-item a:hover:after {
    opacity:0 !important;
    }

     

    2) Please explain what you meant, I did not understand you.

  • jorenwouters replied

    That worked, thanks!

    Do you also know the solution for my other question, that image and quote post types don't link to the single post page?



    Regards,

    Joren

  •  4,773
    Michael replied

    Explain more in detail what you mean?

  • jorenwouters replied

    On the "Inspiration" page, if you click on a blog post which is an image post type or a quote post type, you go to the single post page. I don't want that. I want that if you click on the blog post (if it is an image post type or a quote post type) nothing happens.



    Regards,

    Joren

  •  4,773
    Michael replied

    Unfortunately, this is a standard function of WordPress and it can not be changed.

  • jorenwouters replied

    Hello,

    Then I got a more technical question. The variable '$thegem_featured_content', in which template file is this variable defined? 


    Regards,

    Joren

  •  4,773
    Michael replied

    $thegem_featured_content = thegem_get_post_featured_content(get_the_ID());

    Function thegem_get_post_featured_content in /wp-content/themes/thegem/inc/content.php line 803

    Why do you need this information?

  • jorenwouters replied

    Because this variables creates the link around the image. So I need to change this function.



    Regards,

    Joren

  • jorenwouters replied

    Hello,

    How can I redeclare this function? Because I want to redeclare it in my child theme, but I get this error: 

    Fatal error: Cannot redeclare thegem_get_post_featured_content() (previously declared in /home/reddle1q/public_html/deux/wp-content/themes/thegem-child/functions.php:11) in /home/reddle1q/public_html/deux/wp-content/themes/thegem/inc/content.php on line 849


    Regards,

    Joren

  • jorenwouters replied

    Beside that, if I activate the standard The Gem Child theme (which I called 'Deux' on my website), a lot of the website get different colors and sizes. Why is this?


    Regards,

    Joren

  •  7,092
    Oliver replied

    HI!

    It's not possible to redeclare the function in the child theme, it's not an action or filter, you need to create your own function in the child theme for example thegem_get_post_featured_content_new() with your functionality and call it in the template which you need.  After the activating the child theme you just need to resave theme options to apply  your styles from the theme options into custom.css file in the child theme. 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver