Giter Club home page Giter Club logo

gc-testimonials's People

Watchers

 avatar  avatar  avatar

gc-testimonials's Issues

White Screen on Settings with GC Testimonials.

Hi Michael,
Per your request to add the help request here:

I uploaded and activated your github update for the GC Testimonials and I am still getting the blank settings screen below the Settings and Shortcodes tab: Dashboard > Testimonials > Settings. I checked the file code to make sure it was from your github file and it is.

Background: I had restored the website onto another server. The original is working fine and can see the settings page. Haven't changed anything. Was just clicking through the backend and found this blank screen.

What's interesting is that the page will display for a split second and then only show the Testimonial Settings title and then the Settings and Shortcodes Tabs.
Are you open to trying to diagnose this issue?
PS. I see that the password is now in the wild. Please let me know what email I can use to email you a new password securely. Thanks!

Sometime post meta data are empty on frontend (gct_get_post_custom doesn't accept params)

Function gct_get_post_custom tries to get custom post metas for the post, using the global $post variable, but the global $post can contain data coming from any post type , depending on the contest, and not only from GC_testimonial posts.
This function it's called everywhere passing in the post ID as parameter but it doesn't accept parameters. So, when the global $post contain something else than a GC_testimonial post, the function can't retrieve custom meta as client_name, company_name etc etc.

To fix this issue, I've just added a param in the function definition and then passed it to get_post_custom.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.