aymate
Forum Replies Created
-
Forum: Plugins
In reply to: [MCE Table Buttons] Latest updates makes MCE table buttons disappear…Yep – confirming with Kokers. WYSIWYG fields created with ACF have no MCE Table button. Doh!
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFIt’s working. 😉
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFBest. Juliette, you are amazing. If your ever in Perth, Western Australia I’ll buy you a beer!
Thanks you so much.
Jesse
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFHey Juliette
I have deleted the contents of all but one accordion so you can see the repeated markup in each empty one.
Each accordion has a unique field referenced like this:
add_filter('acf/load_value/name=bio_content', 'mimetypes_to_icons');Just an idea: what about building the page content with output buffering turned and then passing the complete content in one go to MTLI ? I think that would bypass whatever strangeness ACF seems to be doing.
That makes absolutely no sense to me I’m afraid. 😉 Looks like I’ve got some reading up to do!
j.
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFOK ready! If you have a peek within the markup of each of the accordions (built with ACF), you will see the:
<style type="text/css"> <!-- a[rel~="mtli_filesize7992kB"]:after {content:" (79.92 kB)"} --> </style>If the field is a plain text filed, this style markup gets rendered on screen.
wace1516.scsa.wa.edu.au/science/
Thanks. Jesse
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFJust waiting for the DNS to propogate – thanks so much for thinking of me.
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFIt’s on a local dev server right now… I’ll get you a link asap! Thanks.
Jesse
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFMy apologies on starting this up again… I turns out that my unique field name solution was not actually working!
So – If I have multiple instances of ACF fields on a page, each being referenced uniquely like so in fuctions.php;
add_filter('acf/load_value/name=field_one', 'mimetypes_to_icons'); add_filter('acf/load_value/name=field_two', 'mimetypes_to_icons');The fields after the first one that includes MIME icons have the;
<style type="text/css"> a[rel~="mtli_filesize7992kB"]:after {content:" (79.92 kB)"} </style>reference from the first field injected as inline styles…
Can you think of any further possible solutions?
Many thanks in advance…
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFta.
Forum: Plugins
In reply to: [MimeTypes Link Icons] Warning when used with ACFThanks Juliete
When I use the above, it injects this style reference to one of my attached files;
<style type="text/css">a[rel~="mtli_filesize7992kB"]:after {content:" (79.92 kB)"}</style>In each ACF field after the first that includes MIME icons etc…
The only way around this I have found is to target the specific field I wish to include icons in by;
add_filter('acf/load_value/name=my_field', 'mimetypes_to_icons');j.