cweinhofer
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Hook to Use Field Befor FallbackThanks for the help. I didn’t think about replacing everything after
$fallback =
If you can’t tell already, I don’t know a lot about PHP.$fallback = get_the_title( $post_id );
works great for the text side of things.But I’m still not finding the right thing for the featured image. I tried
$fallback = get_the_post_thumbnail_url( $post_id, 'large');
$fallback = get_the_post_thumbnail( $post_id, 'large');
$fallback = the_post_thumbnail( $post_id, 'large');
None of them work.What I need is for the code to just insert the image. Wish I could explain better. I do know that if I create an ACF image field called
thumbnail_image
then use$fallback = get_post_meta( $post_id,'thumbnail_image', true );
it works. But obviously that blunts the purpose of relying on the (already populated) featured image.Forum: Plugins
In reply to: [Novo-Map : your WP posts on custom google maps] Nova Map in Custom Post typeI would love to have this feature as well.
Here is one (technical) solution to this problem.
The plugin has a built-in hook for adding a message above the password box. It’s called “password_protected_before_login_form”.
To use it, just add the code from this page to your theme’s functions.php file: https://github.com/benhuson/password-protected/wiki/password_protected_before_login_form
You can change “<p>Your content here.</p>” to whatever you’d like (including adding styles with css or using a span tag).
Forum: Fixing WordPress
In reply to: Media in Alternate LocationThe storage space isn’t really a big issue. The maps will be updated over time and I was hoping to avoid the complexity of having to update files in two places – especially if someone who is less web savvy take over the site in the future.
Forum: Plugins
In reply to: Captcha input to show Email addressI would be very interested in a solution to this as well.
+1
Forum: Plugins
In reply to: [WP-DBManager] Your backup folder is NOT writableAlso, check under DB Options and verify that Path to Backup is still correct. I have been using this plugin for a while, but one day I found mine was changed from /home/xxxyyy/public_html… to /home2/xxxyyy/public_html… (I guess by my hosting company). I entered the new path into the wp-dbmanager settings and the problem was fixed.