danielpataki
Forum Replies Created
-
Hi There,
I’m not sure what could cause this, but I’m pretty sure it’s not the plugin. I haven’t gone through every line of code in ACF but I doubt there is anything in there that could delete files.
This plugin definitely doesn’t have anything like that, it just gets all sidebars and displays them.
Plugins actually MAY have the power to delete files. You could theoretically just issue a PHP delete function, take a look at the PHP Docs.
In any case, this plugin definitely can not cause anything like this.
Daniel
Forum: Plugins
In reply to: [ACF: Google Font Selector] Manually inserting Google Fonts font scriptI think this one is resolved ??
Hi wearevilla,
The plugin doesn’t apply the font to any selector. The plugin is mostly meant for other developers to use and not for users to directly modify the set fonts of their themes.
If I understand your solution, it works just fine, but there is an overhead of an extra font being loaded correct?
I’m pushing out a new version which will allow you to modify the fonts being loaded via a hook, this should help you out ?? Keep an eye out in the Github Repo, I’ll push the update in an hour or so.
Daniel
Hi all,
I’m pushing out a new version and I am hopeful it will work. If you are still running into this issue please let me know, I’ll try and be faster this time ??
Daniel
Forum: Plugins
In reply to: [ACF: Google Font Selector] Using Google Fonts Selector in Dynamic StylesheetHi @coderra,
Sorry for the late reply! The value that is saved isn’t the font, but the font and some extra data. I recommend using var_dump to show what is being returned:
var_dump( $bodyfont )
You’ll see everything that’s in the array and you can echo what you need accordingly.
Daniel
Forum: Plugins
In reply to: [ACF: User Role Selector] User Role FiltersHi Bin,
I pushed out a new version which should have what you need. There is now an allowed role selector. If this isn’t enough, you can use the
acfrsf/allowed_roles
hook to modify them.See the Github Repository for more info.
Forum: Plugins
In reply to: [ACF: User Role Selector] User Role FiltersHi Bin,
I think at the moment: no. However, I’m spending a few hours this week going over my plugins, I’ll try and update it and get back to you here ??
Daniel
Forum: Plugins
In reply to: [Easy Featured Images] exclude from pages or custom post typeHi @igornn,
Version 1.1.3 should be up which contains the
efi/post_types
hook. You can use it like this:add_filter( 'efi/post_types', 'my_post_type_images' ); function my_post_type_images( $post_types ) { unset( $post_types['page'] ); }
Daniel
Forum: Plugins
In reply to: [Easy Featured Images] exclude from pages or custom post typeHi igornn,
Sure, that’s a good idea. I wanted to stay away from a settings page with this plugin. In your opinion is this setting necessary, would a hook do instead? My thinking is that users who use the plugin on their own site probably don’t mind. Developers who want to exclude a post type will be fine using a hook.
I’d love to hear your opinion,
Daniel
Forum: Plugins
In reply to: [Easy Featured Images] Pages / Custom Post typesHi @goraszka,
Premium themes like that can sometimes cause a headache by not doing things in a WordPress compatible way. If it is not working, they are either not using the WordPress post thumbnail mechanism, or they have a completely custom admin list.
This is probably not something I can resolve on this end and I don’t think the theme authors will address it ?? If you want, drop me a line via my contact form with an admin username and password and I’ll see if I can do anything.
Daniel
Forum: Plugins
In reply to: [Easy Featured Images] Pages / Custom Post typesHi @projectmunton and @goraszka,
I’ve added support for all post types, woohoo ?? I’ve also added special code to handle WooCommerce custom images. All built in post types should work just fine (posts, pages). Post types created by other plugins are also likely to work, but if you bump into any issues let me know.
Daniel
Forum: Reviews
In reply to: [Easy Featured Images] Simply Awesome!Hi Nick,
Thanks so much for the kind words, I’m glad it has been useful ??
Daniel
Forum: Plugins
In reply to: [ACF: Google Font Selector] fonts not working in theme.Hi There,
Sorry for the wait on this one! The classes used in the CSS reflect the standard classes in WordPress, although not all themes may follow this. If you need to create your own rules you’ll need to create a custom style.
First, find the element you want to apply it to and then do something like this:
.my_element {
font-family: FontYouNeed;
}Daniel
Forum: Plugins
In reply to: [ACF: Google Font Selector] Manually inserting Google Fonts font scriptHello there ??
Since the script is different depending on which font you need you’ll first need to figure out what it is. The easiest way is to let the plugin enqueue it, and then copying the script.
You’ll then need to add it to the header of the theme. The best way to do this is to enqueue it in your plugin or theme.
You may need to do a bit of work because fonts selected for specific posts only get enqueued there, so if you have an elaborate system you may want to let the plugin do its thing.
Daniel
Forum: Fixing WordPress
In reply to: Can the =Reset code under header section in style.css be removed?No worries ??
It’s great that you’re showing an interest in the code as well, I think you’ll learn in no-time. I would recommend not getting lost in the details though, you probably have to tend to tons of things aside from this anyway ??
Daniel