Mance Creative
Forum Replies Created
-
Thank you so much! Truly appreciate it!
Mitch
Thank you! I actually just uninstalled and reinstalled the plugin and it fixed the corrupted DB table. So all good now.
Mitch
Thank you for the explanation. I actually use the permanent block feature a lot on our other websites, but this is the first time I have experienced it not working correctly.
I did notice though when trying to export a backed-up database on the website, that the export failed once it’s got to the “wfblocks7” database table. So it appears perhaps that that Wordfence table is corrupted perhaps and may be causing the issue? Let me know if that makes sense.
If that could be the cause, is there a way to repair that database table?
Thanks!
MitchAwesome, easy-squeezy! Thanks so much.
I just installed the Health Check plugin, and one thing that stood out to me was the the MySQL version is “out of date” and less than 5.7. Do you think that could be an issue?
Also it mentioned something about
“The optional module, imagick, is not installed, or has been disabled.”Does this plugin require either of those things to run? Our test server was definitely more up to date with those settings, whereas our client’s hosting server (which we migrated the live site to) is not apparently.
Thanks,
MitchThank you for getting back so soon. I did try all of those options: clear cache/cookies, switch theme, and also deactivated plugins and reactivated them 1 by 1, which how we discovered the Responsive Menu was the issue.
I am thinking when we migrated it to the new LIVE server, something happened in the database like it didn’t get fully moved over correctly… Is there a way to completely remove all data for the plugin when deactivating and removing it? Since we already tried deactivating/deleting the plugin and then re-installing it (which still didn’t work), perhaps there was still data left in the database from the previous install of it. In the meantime I will check out the health check plugin to see if it finds anything.
Thanks!
MitchHi Steven,
Not a problem. Here is that snippet.
Connections :: Load Template Based on Entry Type
add_filter( 'cn_load_template', function( $atts ) { if ( $slug = cnQuery::getVar( 'cn-entry-slug' ) ) { // Grab an instance of the Connections object. $instance = Connections_Directory(); $result = $instance->retrieve->entry( $slug ); if ( false !== $result ) { $atts['list_type'] = $result->entry_type; } } return $atts; } );
This basically allowed the Directory to use a different page template than the profile page template without having to use “home_id” for the shortcode on the Directory page. The profile page template is then able to utilize the “Individual” template type we chose in the template settings, without having to use the “home_id” for the Directory shortcode. So as a result we can use the category, keyword search, alpha filter, etc., on the Directory page and have that resolve using the Directory page template, instead of the “home_id” template of the profile page as it was trying to do previously. If that makes sense. ??
Thanks!
MitchHi Steven,
Yes, it actually was the same issue. ?? It just hit me that you had helped us with the same issue a few years ago, so luckily I found the snippet code needed.
Thanks again! ??
MitchHi Steven,
Actual I just found a function snippet that worked which you provided a few years ago for another website we worked on, that had the same need. ??
Thanks!
MitchHi Steve,
Hope you had a great new year! I just wanted to follow up about my message above. I had provided some screenshots. Let me know if those are helpful for you to troubleshoot.
Also I had to update the member directory page permalink. Here is the link to view the page: https://mancewp.com/cwi/member-directory/
Thanks!
MitchThanks! Any chance you can provide an example block of code? ??
Hi Steven,
Here are the screenshots of what you are requesting:
Directory Page (with Tile Plus): https://mancecreative.com/client-downloads/CWI-Connections-Directory-Page.jpg
Profile Page Template with the Shortcode added in the PHP file: https://mancecreative.com/client-downloads/CWI-Connections-Profile-PageTemplate.jpg
General Settings Page: https://mancecreative.com/client-downloads/CWI-Connections-GenSettings-Page.jpg
Look forward to hearing back!
Mitch
Got it, thanks for that explanation. One other question I just discovered I had, was if I can use this to display/render a shortcode from WordPress? I went ahead and installed an Audio Player shortcode (to display an audio player on the profile pages for recorded interviews, etc.). But when I paste the shortcode into the field, it doesn’t render it on the front end and just displays the shortcode as text. Let me know if it’s it something i am missing or if there is another way?
Thanks!
MitchHi Steven,
I tried that and it broke the page. Gave a “Fatal Error” notice in that section of the page and made the page look all narrow. So I removed it. ??
Just out of curiosity, what was that supposed to do?
Thanks!
MitchAwesome! Thank you so much. That worked! ??
Mitch