Derek Springer
Forum Replies Created
-
Forum: Plugins
In reply to: [AdControl] Exclude Wordads from front pageI’m actually rejiggering the filters a little to be in line with some of our other code, but you should be able to use:
adcontrol_header_disable
set to true will prevent header unit from displaying
.e.g.add_filter( 'adcontrol_header_disable', '__return_true' );
adcontrol_inpost_disable
set to true will prevent the in post unit from displaying
.e.g.add_filter( 'adcontrol_inpost_disable', '__return_true' );
Forum: Plugins
In reply to: [BeerXML Shortcode] Approval of translation?Howdy eppen,
I saw it, thanks so much! Been a busy few weeks so I haven’t had a chance to try to roll it in yet. Hopefully I’ll get to it soon!Forum: Plugins
In reply to: [BeerXML Shortcode] Approval of translation?Howdy eppen,
That’s great! The easiest way for you to submit your translation is to submit a pull request to the GitHub repo here:https://github.com/dbspringer/beerxml-plugin/pulls
Let me know if you want any assistance with the pull request.
Howdy again freefincal,
The latest update (1.0.3) includes an option to exclude the leaderboard on mobile. Thanks again for your feedback!Howdy freefincal,
Thanks for bringing this up, I’m going to try to add the option to include/exclude the header unit on mobile in the next version..Forum: Plugins
In reply to: [BeerXML Shortcode] Can't find the BeerXML interfaceGoing to close this.
Forum: Plugins
In reply to: [BeerXML Shortcode] BeerXML version?Thanks for bringing this up, the plugin supports V1. As far as I’m aware V1 is the only format supported in any actual implementation I’ve seen.
I’ll update the page to mention the version.
Forum: Plugins
In reply to: [BeerXML Shortcode] Can't find the BeerXML interfaceHowdy MannyE,
In order to get the shortcode interface you’ll need to install the Shortcake plugin. Once it’s installed, the interface will be in ‘Add Media’ -> ‘Insert Post Element’. You’ll only get an in-editor preview if the shortcake plugin is installed. You’ll have to do a regular post-preview otherwise.You can build the shortcode yourself by using the following form:
[beerxml recipe=https://example.com/path/to/recipe.xml]
It also takes the following optional parameters:
metric=true|false
download=true|false
style=true|false
mash=true|false
fermentation=true|false
cache=-1|seconds to cacheForum: Plugins
In reply to: [BeerXML Shortcode] Cannot toggle style detailsGreat! BTW, if you download the Shortcake plugin you should get a live preview of the recipe in the editor.
Forum: Plugins
In reply to: [BeerXML Shortcode] Cannot toggle style detailsHowdy, there’s a chance that the style section got loaded and cached when you previewed the post. Try updating the cache to
cache=-1
(and style=false) and reloading. If it looks like you expect you can remove the cache flag.Forum: Reviews
In reply to: [Shortcake (Shortcode UI)] Off to a great start!Did you see the documentation on our wiki by chance? Curious as to what specific questions you might have.
I did use the wiki to build my integration, thanks! I wasn’t sure what additional parameters there were for the field attrs besides the ones in the example. For instance, the url field (as well as text fields) are awfully short. Is there any way to set the length or a class or style?
See: https://s.w.org/plugins/beerxml-shortcode/screenshot-4.png
Also, is there a way to set what the value of the checkboxes are? Right now it seems they’re just “true” or “false”, which ends up working okay for how I’m parsing the attributes.
Forum: Plugins
In reply to: [BeerXML Shortcode] XML not retrieved?Howdy Dykarna,
There appears to be a couple of things going on here:1) Replace the ‘|’ in your shortcode with spaces. e.g.
[beerxml recipe=https://media.vaxmorabryggeri.se/2015/03/stout.xml metric=true]
2) The BeerXML document itself has the following encoding which WordPress doesn’t seem to like:
<?xml version="1.0" encoding="System"?>
I manually edited the document to following (which is what my version of BeerSmith produces) and was able to get the file to load:
<?xml version="1.0" encoding="ISO-8859-1"?>
Try those two things and let me know if you are still having trouble. In the mean time, feel free to try testing out this recipe to make sure everything is working:
https://www.fivebladesbrewing.com/wp-content/uploads/2015/02/fiesta.xml
Forum: Plugins
In reply to: [BeerXML Shortcode] XML don't show?Duplicate post.
Forum: Plugins
In reply to: [BeerXML Shortcode] Additional mashing and fermenting detailsHowdy, this has been added in the 0.4 update. Happy brewing!
Forum: Plugins
In reply to: [BeerXML Shortcode] Additional mashing and fermenting detailsHowdy, next time I get some free time I’ll take a look, it shouldn’t be too hard to add it. In the mean time, you can always add the details in your Notes section (which is what I’ve been doing).