michael-cannon / gc-testimonials Goto Github PK
View Code? Open in Web Editor NEWGC Testimonials
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!
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.