davoooooo
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Why does this appear in url /?ckattempt=1after </body> and before </html>. ??
Forum: Fixing WordPress
In reply to: Why does this appear in url /?ckattempt=1awesome and no problem! ??
Forum: Fixing WordPress
In reply to: Why does this appear in url /?ckattempt=1if you have access to the theme, add it to the bottom of your ‘footer.php’ file.
<script type="text/javascript"> var searchWinHref = window.location.href; if(searchWinHref.indexOf("?ckattempt") > -1) { window.location.href = window.location.href.split('?')[0]; } </script>
let me know if that works for you! ??
Forum: Fixing WordPress
In reply to: Why does this appear in url /?ckattempt=1TLDR;
here’s how to remove ?ckattempt from your url!would like to post this for anyone in the future that may run into this ckattempt issue.
if what you’re looking to do is simply remove the query from the url, i’ve written a small vanilla javascript that will search the url for the string ‘?ckattempt’, split the url upon finding it, and redirect you back to the same page without the query in the url.
var searchWinHref = window.location.href; if(searchWinHref.indexOf("?ckattempt") > -1) { window.location.href = window.location.href.split('?')[0]; }
Forum: Plugins
In reply to: [Simple Nivo Slider] Shuffle Not Workingsince this plugin is no longer in development, editing the plugin files seems like a decent way of fixing errors that have arisen due to wordpress updates.
here’s what i did to fix the shuffle issue of snivo:
? go to plugin editor
? select ‘simple nivo slider’ from your list of plugins
? make sure you’re editing ‘simple-nivo-slider.php’
? navigate to line 222 where you will see…
? query_posts($query);for random order:
? query_posts($query.”&order=ASC&orderby=rand”);for reverse order:
? query_posts($query.”&order=ASC”);and so-forth and so-on…
cheers!