When deleting a Snippet, you must manually reload the page for the newly deleted Snippet to be lost
]]>Hello,
The plugin hasn’t been updated for 6 months, are you abandoning the project?
Otherwise, great plugin!
Thanks.
I am having some bugs with the plugin. The scripts are still running, but I am having many little bugs. Take a look at the screenshot below.
I don’t have access to my scripts: https://share.cleanshot.com/cw8zdRrm
The settings page is taking my website’s fonts, then it goes back to normal: https://share.cleanshot.com/CCjz3kbc
]]>Just trying this out, and first php I try throws this error “Namespace declaration statement has to be the very first statement or after any declare call in the script” even though the namespace declaration was on first line – and suggestions here that this plugin is no longer supported?
]]>Hi, I activated it on a multisite network but it doesn’t appear in the subtitles menu.
]]>Hello.
Can you, please, add features lazy load and user roles for snippets like it works for
Tag Manager plugin?
Thank you.
]]>Hello.
Thank you for this great plugin.
Can you, please, try this way : when I tried to add the same php snippet (add_filter..) I got error : cannot redeclare..function.
Ok. I make some changes and press update > reactivate. I got notification about success.
But in the list it was error with this snippet. (marked in red color)
After I delete this snippet (delete button doesn`t work in time and snippet was in list. Only refreshing for this page helps to see updated list) I made new one and it works Ok.
So, can you try this way as described ?
]]>Does this plugin do error checking ? I was wondering if this plugin had error support ? when creating code snippets, if I have any error on any line, another code snippets another plugin show the error this plugin does not. or does it ?
]]>Hey! ??
Will there be any future plans to support scss to CSS compiling?
Dear friends.
First of all your plugin is very useful. Congratulations!
But i need to send parameters to plugin like
[fluent_snippet id=”7-escolher-usuario” idcampo=”teste”]
How can i achieve this?
Tks in advance.
]]>Hi there,
I notice on this support forum there’s numerous posts from last 4 months on which there has been no developer activity. There’s also 17 issues raised and unadressed on Github (17 open, 2 closed). It appears there has been no developer activity on the project’s Github issues page for over 6 months.
As I’m in the process of migrating a large numbers of snippets from Woody Snippets and WP Code snippets over to FluentSnippets, I’d like to know I’m not moving all this code over to a sinking ship.
It would be helpful to see hear from you (the developer) as to what you’re plans are for this plug-in, and why response to support requests has been absent for so long.
Thanks,
Jonathan
]]>Hi there,
First off, thanks for this excellent code snippet plug-in. I am currently migrating a bunch of snippets from Code Snippets, and also from Woody Code Snippets.
The only issue I am facing is I seem to be unable to get the conditional logic to work. Every attempt I’ve made, simply results in the snippets not loading at all, even when I believe the conditions are met.
I had a look in your documentation, to see if I was misunderstanding the logic of your options. But there’s very little explanation in there. So I figured I’d ask.
For example:
1. I have a snippet I only want to run on wp-login.php
page. If I set up page URL
+ includes
+ wp-login.php
this prevents it from running. Which seems to be the opposite of what I was expecting. This screenshot shows the setting:
2. I also tried to add a snippet that runs on all pages EXCEPT those that are part of the checkout. Again, adding the relevant settings just seems to stop it from working entirely. Here’s the settings I used for that:
3. I tried to set up a snippet the ONLY runs on the checkout pages. Adding the conditional, as shown below, stops it from loading entirely:
With this last example, I can at least think of one reason it might not work on our site. We use a FunnelKit plugin, which sets up its own checkout. The URL remains the same (/checkout/
) but it is a custom checkout. I should add, however, that the same conditional settings on Woody Snippets does not have this issue. Settings as shown here:
Obviously the conditional functionality can’t be totally broken in the plugin itself, otherwise I wouldn’t be the only one I see bringing this up.
So would you please let me know what it is I am completely misunderstanding with the conditional logic?
Thanks.
Jonathan
]]>The error can not be recovered once “previously declared” occurred even if remove the function causing the error in the snippet.
Deactivating other snippets doesn’t work either.
Only way to fix was to remove conflicting(duplicate) functions in all snippets.
This is inconvenient and should be fixed.
Once the conflicting function is removed in the snippets the error occurred, it should be recovered.
Deactivating a snippet should stop the error also.
Hello. I’m in the process of moving my code from Code Snippets to FluentSnippets on clients websites and I hit a problem. Some of these sites have the DISALLOW_FILE_MODS flag enabled for security purposes, and with this FluentSnippets cannot run at all.
FluentSnippets will show up as installed and activated just fine, but it simply won’t run and its menu item is nowhere to be found. Disabling it will allow it to run just fine.
Is it possible for FluentSnippets to run with DISALLOW_FILE_MODS enabled?
]]>I’m trying to create a custom user role (sort of a limited admin) that will have access to Fluent Snippets.
I saw the plugin references manage_options and unfiltered_html. Those are also selected for the custom user role, but it still doesn’t have access. I don’t see any other custom permissions…
Does anyone know what needs to be done to allow a custom user role to manage Fluent Snippets?
When I save my script in JS, it says error. It gives this screenshot.
]]>FluentSnippets is an awesome product as it eliminates the need for many plugins. However, there’s one feature that I feel is missing. If we could enqueue the CSS snippets in the Gutenberg editor to ensure the editor view closely resembles the frontend, it would make the product even more amazing. Thanks.
]]>It appears once you create a snippet group, it remains there forever, taking up space in the list of options. This should be resolvable.
]]>Hello,
Thank you for this great plugin.
The issue with conditional logic.
AND / OR logic
Looks like logic OR is not applicable.
Insert snippet on Page A or Page B?
Logic AND is logic INCLUDE.
But here is no logic EXCLUDE.
Seems not possible to set up these conditions:
Insert snippet on Page A, Page B,
Don’t insert on Page C, Page D.
Automatically rename the file name with the code snippet name is better. When migrating and integrating to a new site, the code snippet filenames are quite messy.
It seems impossible to enable a specific code snippet for the network site alone. Can the future roadmap solve this problem?
]]>I built a custom form using Vue.js CDN where In the html I can write template code like this.
</div>
<strong>{{name}}</strong>
</div>
The issue is I think because I am using none recognized PHP I get errors trying to get the html to render is there a way to separate HTML+PHP so it’s not combined in the plugin or is there a way to tell the plugin to ignore unrecognizable php code. For me to get my form to work I have to use WPCode to render the HTML because it allows to use separate code snippets just for HTML only. When I try to use Fluent Snippets I get error
Parse error: syntax error, unexpected 'version' (T_STRING) in /fluent-snippet-storage/25-test-form-html.php on line 221
Fatal error: Exception thrown without a stack frame in Unknown on line 0
]]>
This is very bad plugin support
no replies in this support are nor on their github
See:
https://github.com/WPManageNinja/easy-code-manager/issues
File-based Snippets: Your snippets are safely saved in your file system and load natively with zero database queries, so it’s safe, secure, and ultra-fast.
Exactly where? What is the path to the file where the snippets are saved?
]]>Deprecated: Creation of dynamic property FluentSnippets\App\Model\Snippet::$args is deprecated in?/home/domain.tld/public_html/wp-content/plugins/easy-code-manager/app/Model/Snippet.php?on line?15
Just to let you know if you are running on Php8.2 or above.
]]>Hi, just came across your new plugin.
Love how you advance the WordPress world with your new ways of doing things!
I currently use WPcode and compared it a bit to your FluentSnippets. Will you add more options like:
I would not mind if these options would require a PRO account, I believe many users would happily go for it ??
Just asking as I am really interested to add one more of your amazing plugins to my day-to-day!
]]>when you migrate a site the snippets will show up in the All Snippets list
however all snippets are completely empty
here comes the strange part, when you go in to the filemanager of the site and open any of the migrated snippets php file the file does contain the snippet.
this is a real problem
Hello
I would like to know : is it possible to insert a google tag manager’s tag very after the opening head tag ?
Because with a specific plugin, GTM’s tag are very close to the beginning, and with Fluent Snippet, it is more after
Have a nice day !
]]>Is support for SASS/SCSS and auto compiling it in the future at all?
]]>good evening dear sir,
well i really like the idea of eansy code manager: it is awesome to see your project ailive:
well i am about to create a wordpress-plugin that offers the output of the following data …the data of a a Neaby-search:
the question is: can we create a quewry that shows up all the schools that are in the near – in other words
example: what i am after. how to create a request to find all the schools – in the area of – let us say munich – in a radius of 10 km for example!?
a output that shows all the schools around a certain point – or in other words; all in Munich – in a area /(radius) of let us say 10 kilometers can we create a query that works on Overpass-turbo.eu
eg like so: first of all see the intened osm – nearby-search that runs against the overpass-Turbo.eu -API
[out:csv(::id,::type,::lon,::lat,amenity,name,"addr:postcode","addr:city","addr:street","addr:housenumber","contact:website",website,"contact:email")]
[timeout:600];
area[name="München"];
nwr(area)[name="Marienplatz"];
nwr["amenity"="school"](around:10000);
out center;
it gives back the results:
@id @type @lon @lat amenity name addr:postcode addr:city addr:street addr:housenumber contact:website website contact:email
312793352 node 11.5815046 48.1322045 school Schulverbund München 80469 München Kohlstra?e 5 https://www.schulverbund.de/
703266518 node 11.5746643 48.1387135 school EAM School of International Business https://eam-muenchen.com/
1096318121 node 11.5827303 48.1368214 school Otto-Falckenberg-Schule 80539 München Stollbergstra?e 7a https://www.otto-falckenberg-schule.de/
1096318127 node 11.5822067 48.1376239 school Otto-Falckenberg-Schule 80539 München Falckenbergstra?e 2 https://www.otto-falckenberg-schule.de/
1142514805 node 11.5665710 48.1353750 school Evangelisches Bildungszentrum 80331 München Herzog-Wilhelm-Stra?e 24 https://www.stadtakademie-muenchen.de/ [email protected]
1576527684 node 11.5728245 48.1336093 school Theresia-Gerhardinger-Grundschule am Anger https://gs-am-anger.de/
1576528339 node 11.5721671 48.1333479 school Theresia-Gerhardinger-Gymnasium am Anger https://www.tggaa.de/
2493656150 node 11.5814603 48.1366835 school F?rderschule an der Herrnstra?e 80539 München Herrnstra?e 21 https://stadt.muenchen.de/service/info/sonderpaedagogisches-foerderzentrum-muenchen-mitte-2-herrnstr-21/1060084/
2654727020 node 11.5812823 48.1365482 school Grundschule an der Herrnstra?e
well i think that firstly i should to take care that i have to create the WordPress Plugin Structure: Set up the basic structure of your WordPress plugin, including a main PHP file and any additional files or folders you may need.
Register the Widget: then i need to define a certain kind of a custom widget class that extends the WP_Widget class provided by WordPress.
Implement the Widget Logic: Within your custom widget class, implement the logic to retrieve data from the Overpass API and format it for display.
Display the Widget: Register a callback function to output the widget content, including any HTML markup necessary to display the data.
Here’s a basic outline of how you might approach each step:
<?php
/*
Plugin Name: osm Nearby Schools Widget
Description: Widget to display nearby schools using Overpass API.
Version: 0.9
Author: osm-fan
*/
// Step 2: well - first of all - we ought to register the Widget propperly
class Nearby_Schools_Widget extends WP_Widget {
// Constructor
public function __construct() {
parent::__construct(
'nearby_schools_widget', // Base ID
'Nearby Schools Widget', // Name
array( 'description' => 'Displays nearby schools using Overpass API' ) // Args
);
}
// Step 4: we ought to display the Widget
public function widget( $args, $instance ) {
// Widget output
echo $args['before_widget'];
echo $args['before_title'] . 'Nearby Schools' . $args['after_title'];
echo '<ul>';
// Step 3: Implement the Widget Logic
$schools = $this->get_nearby_schools();
foreach ($schools as $school) {
echo '<li>' . $school->name . '</li>';
}
echo '</ul>';
echo $args['after_widget'];
}
// Step 3: here we implement the Widget Logic
private function get_nearby_schools() {
$url = 'https://overpass-api.de/api/interpreter';
$data = array(
'data' => '[out:json][timeout:25];(node["amenity"="school"](around:10000,48.1351,11.5820););out;',
);
$response = wp_remote_post( $url, array(
'body' => $data,
) );
if ( is_wp_error( $response ) ) {
return array();
}
$body = wp_remote_retrieve_body( $response );
$schools = json_decode( $body );
return $schools->elements;
}
}
// Step 2: Register the Widget
function register_nearby_schools_widget() {
register_widget( 'Nearby_Schools_Widget' );
}
add_action( 'widgets_init', 'register_nearby_schools_widget' );
hmm – well – i think that this could be a first step into the direction: i think that this code sets up a WordPress plugin that creates a widget called “OSM-Nearby Schools Widget”
Well the widget retrieves nearby schools using Overpass API within a 10km radius of Munich’s coordinates (48.1351 latitude, 11.5820 longitude), and
displays them in an unordered list. Well we may need to adjust the coordinates and then run it against the Overpass API query to fit even more specific requirements.
Do you have some additional ideas – what to add to the plugin(logic) – can we do this with your easy-code manager.?
look forard to hear from you
Hi, congratulations on the plugin, truly revolutionary. Would it be possible to add variables to the shortcodes? For example, I have a snippet with a shortcode call:
[fluent_snippet id=”xx-xxxxx”]
It would be interesting to insert some variables, so for example:
[fluent_snippet id=”xx-xxxxx” custom_par=”XXX”]
To be recalled within the snippets. So, custom_par becomes $custom_par and I can use it easily.
]]>