Good day.
Dear Even, can I will translate this plugin on ukrainian language?
Hello,
after an update of the plugin, all URLs from the buttons are missing.
The reason is probably an wrong IF-Statement in the line 828 of the file acf-button-v5.php?
If i change the Code to this, it works again:
// get url - if url exists use it, if not use the page id to get permalink.
if ( 'custom' === $value['type'] ) {
$url = $value['url'];
} else {
$type = $value['type'];
$url = get_permalink( $value[ $type ] );
//Bug?
$url = $value['url'];
}
Is this a bug?
]]>Hello community!
As time rolls by, it has become increasingly more difficult for us to find the time to support this plugin and the community using it.
We’ve received a number of requests to make it “open source” over the lifetime of this plugin, but truthfully it has always been open source.
The readme included with the plugin has always contained this information and a link to the plugin’s github repository, but we figured maybe a little clarification here couldn’t hurt.
So in an effort to allow this community to continue to use and mature the plugin, we invite everyone to start contributing to the plugin on GitHub.
https://github.com/Bag-Labs/acf-button
At this point in time, we don’t expect to do any significant development to the plugin anymore, however if the community is able to make some meaningful changes, we will still be happy to push that out here as well. We also will not have a problem with someone pushing out their own modified version themselves. It is open-source, after all. :slightly_smiling_face: Thank you again for using the plugin and making it a much bigger success than we ever expected.
]]>Hi there!
For some reason, the mouse cursor suggests that my buttons aren’t clickable.
Here’s an example: https://turbine.dk/produkt/familiebilleder/ (try hover over the button saying ‘Download inspirationsh?fte’).
Anyone else got this problem?
]]>Hi there @circlecube & @brownbagmarketing,
Hope you are well! -and I hope it’s okay to direct this suggestion at you since you’re noted as having contributed to the development of this great plugin. I guess you’re the main developer of it @circlecube…
Anyway, I just wanted to hear if you’ve considered putting this plugin on GitHub so that the whole of the WP community can help maintain and improve it to become even greater?
I think these two threads show good examples of things that could be moved to a GitHub development environment:
Custom post url wrong, here’s a fix
Hope to hear from you and many thanks!
]]>Hi there,
Firstly, thanks for providing such a great plugin to the WP community! Your efforts are much appreciated ??
I love this plugin and it is exactly what I was looking for. However, there’s a couple of improvements that I’d like to suggest. They are:
1. It would be great if it was possible to set default custom classes, which could then be hidden from other users. In the same way as it’s currently possible with other things such as Default Color and Default Size… The reason why I’d like to be able to do this is that my theme isn’t compatible with the current styling options of the plugin (color, size, style) and so I have to use custom classes (ie. ‘btn btn-default btn-sm’) to make buttons appear correctly on the front-end. I’d like to set this for all instances and not allow users to change it per post.
2. This one might be a bit harder to achieve, but I think it would be great if it was easily possible to add as many buttons as you’d like. At the moment I can only allow users to add as many buttons as I have pre-specified. Ideally, it would start with just one field group, which the user could then add as many new fields to as they need.
Hope you’ll find these suggestions useful. I would have loved to help build them myself had I only had the skills to do so.
Many thanks!
]]>A custom url will always be a post url because the conditional is validating against a none existing variable.
To fix it, in file acf-button-v5.php change line 828 and next lines to:
if ( 'custom' === $field['default_type'] ) {
$url = $value['url'];
} else {
$url = get_permalink( $field['value']['post'] );
}
]]>
Hello,
Is it possible to make the buttons rel=”nofollow”?
Thanks,
Florian