-
Notifications
You must be signed in to change notification settings - Fork 10
Seeing name of widget if show titles is enabled, even if widgettitle is blank #11
Comments
Also, if the widget title is blank, is there a way for nothing at all to be output (ie no blank Thanks again! |
@FriendlyWP you're definitely right. I thought it would be cool to emulate the way WordPress does it (if no title is available, use a default one) but for custom stuff that doesn't make sense. I'll remove that. ASAP. |
Latest commit to master fixes this issue. Sorry about that. |
Hi Daron, I just downloaded the Master branch again and tried to reinstall, but I get Am I doing something wrong? I'm not sure how to upgrade to the latest Thanks for your help! On Wed, Mar 18, 2015 at 2:06 AM, Daron notifications@github.com wrote:
Michelle McGinnis |
Shit. I think I spotted the issue. Regarding the version number, I don't update it until I release the new version in the wild. This ensures everyone who downloads from GitHub gets the next release when it's released. Specifically, for stuff like this (errors in repo, etc). I'll update tonight when I get it sorted out. This is a fresh install right? |
So that issue was specifically with some newer PHP features I inadvertently used. Apparently This has now been fixed. You can download a new copy of the master branch and it "should" work. On another note, I highly suggest upgrading your servers version of PHP. :) Cheers |
Thank you! I can activate now. I didn't realize my PHP was so out of date - I'm running 5.4.19. I'll upgrade when I can but I know many of my clients are also on 5.4x so it's good this is fixed - again, thanks!!! I am running into a conflict with another function I'm running but it's not at all crucial. I'll open a separate ticket for that. Beta testers are a bit of a PITA right? :) Thanks again for your very quick responses!! |
No beta testers are awesome! Thanks a lot :) |
Hi again - me on the titles thing. I'm having a problem where I have show titles enabled using
add_filter('show_acfw_titles', '__return_true');
But, if the title of the widget is left blank in Appearance > Widgets, the name of the widget itself appears instead. I believe in that instance nothing should appear (that's how it works with other widgets anyway).
For instance, if I create an ACF Widget called "My Pretty Little Widget", with the filter to show titles = true, then drag a new instance of My Pretty Little Widget into the sidebar and leave its title blank, the widget appears in the sidebar with the title My Pretty Little Widget.
I know it's a strange use case because hey, why enable it and then leave it blank? but I know my users will be confused if they leave the field blank and something still appears on the front end. Can you help? Thank you!
The text was updated successfully, but these errors were encountered: