Lock-N-Load
Forum Replies Created
-
Forum: Plugins
In reply to: Custom plugin is revealing blog posts that are set as Draft or PendingCould it be something in this code bit:
<?php $args = array( 'numberposts' => '5' ); $recent_posts = wp_get_recent_posts( $args ); $cnt = 0; foreach( $recent_posts as $recent ) { echo '<a href="#" data-to="'.$cnt.'" >?</a>'; $cnt++; } ?>
or this?
<?php $args = array( 'numberposts' => '5' ); $recent_posts = wp_get_recent_posts( $args ); foreach( $recent_posts as $recent ){ echo' <div class="item"> <h3> <div class="tips-head">Tips:</div> <a href="' . get_permalink($recent["ID"]) . '" title="Look '.esc_attr($recent["post_title"]).'" >' . $recent["post_title"].'</a> </h3> </div> '; } ?>
Or is it something deeper in the theme that the plugin is tapping into to reveal these Draft posts publically?
bug report sent
Any help here?
What I am suggesting is very basic drop down form functionality, but cannot be done with this plugin.
path of least resistance for me right now to make client happy is to try mlrekk’s option – as that is fast and quick. if that works, I need to accept that as my solution and move on, if not, I need to try your beta.
thanks I will try and report back.
I wa able, in a bizarre way, to try the settings to allow me to change the settings for Fancybox and what I did was delete the settings for all of the options (lightbox, fancybox, etc) and then only fill in fancybox and it took it. BUT, it then reverted the other deleted ones back to their old path URLs, but kept fancybox URLs as my newly updated ones. How odd is that?
seems a lot easier to just go into the DB, or wherever your plugin stores the settings data, and fix these wrong URLs coded to the dev server we had. but the thing is, they show in the plugins settings, but yet, you cannot find them in the wp DB. so I am still curious, where are they stored and how is your plugin showing URLs in the settings that cannot be found in the wp DB?
so when you do this and hit the reset, do you loose all of your galleries and images and such you have uploaded? OR do you just loose the settings?
And if you only lose the settings, would you advise taking screenshots of the settings before hand so I can mimic them under the new plugins settings?
we don’t have that in the version of the plugin we use.
plus, I am afraid if I install the newer version that has that, it will bork all of the work and such that has been done?
You can change these in the Gallery > Other options > Lightbox effects > Show advanced settings – change your URLS in there
I have the same issue BUT the plugin will not save my changes and it is driving me nuts so now, things do not work as it is looking for files on a server that do not exist AND it will not save the changes I make to point them to the proper server.
I see no such option.
where did you see a “reset” option, I see no such option.
When I try to change the links to the files on the server, and then try to “Save” the page refresh to a 404 page not found?
Forum: Plugins
In reply to: [Yoast SEO] Local function does not show the mapnope… no fix, no help
Forum: Plugins
In reply to: [Random Banner] Possible to display multiple banners?Why couldn’t you place multiple widgets on 1 page? The only real issue is seems is that given randomness, you could end up with both places showing the same banner if the stars aligned.
Forum: Plugins
In reply to: [Custom Content Shortcode] Is this [load] even possible? am I doing it right?“These days I keep most code (even shortcodes) out of the editor and in their own folder, which I then load into the page.”
how? a php include?
if a php include, does the Visual editor bork the php include code when you switch from Text to Visual and back?
Forum: Plugins
In reply to: [Custom Content Shortcode] Is this [load] even possible? am I doing it right?ok.. I got the [raw][/raw] to work.
I think, I don’t recall for sure, in the past, I tried to put the script in the page in the Text editor, go to the Visual editor and wrap the seen script in the [raw] tags BUT little did one know by that time the code was borked and you could see that when you went back to Text editor and saw all of the ASCII characters changed. So, to get it to work, I had to put the script into the Text editor, add the [raw] tags in the Text editor, save it, then I could go back and fourth between Visual and Text and not bork the script going forward. All that happens is that in Visual you just see [raw][/raw] while in Text editor you see [raw]the-javascript-call-code[/raw].
Not sure how I messed that up the first time around and got it this time.
Thanks for the help that got me tipped off to try that plugin again, sorry yours did not work as I had thought it might BUT I would be happy to continue to work with you to see if we can get yours to work as well and properly use the [load] tag?
And I agree, I have never seen a script that is actually like a php file call. So I am not sure if that is what it borking your plugin?