sinetheta
Forum Replies Created
-
Forum: Plugins
In reply to: [Bootstrap Shortcodes] Nested codes not workingSorry I didn’t address this earlier, unfortunately it is a limitation of the WordPress shortcode system.
However the parser will fail if a shortcode macro is used to enclose another macro of the same name
– Shortcode API: LimitationsForum: Plugins
In reply to: [Bootstrap Shortcodes] shortcode options popups not loadingMy guess is that this could be a non-standard WP installation. Something that we used to have trouble with https://github.com/TheWebShop/bootstrap-shortcodes/issues/19, but was fixed by https://github.com/TheWebShop/bootstrap-shortcodes/pull/27
Forum: Plugins
In reply to: [Bootstrap Shortcodes] Table-WrapThere has only been one breaking change in the history of this plugin, and it was almost 2 years ago, with plenty of documentation. https://github.com/TheWebShop/bootstrap-shortcodes/commit/cec203c80a7842489a1a3f3d703ff6e39e4b8026
Forum: Plugins
In reply to: [Bootstrap Shortcodes] Open first collapseLooks like this was resolved in https://github.com/TheWebShop/bootstrap-shortcodes/issues/43
Forum: Plugins
In reply to: [Bootstrap Shortcodes] Images next to each otherYou’re right, the grid would work fine for this. For example…
[bs_row class="row"] [bs_col class="col-sm-4"]YOUR IMAGE HERE[/bs_col] [bs_col class="col-sm-4"]YOUR IMAGE HERE[/bs_col] [bs_col class="col-sm-4"]YOUR IMAGE HERE[/bs_col] [/bs_row]
Forum: Plugins
In reply to: [Bootstrap Shortcodes] col-xs col-sm col-md col-lg?As tyrann0us said, it’s possible to add multiple grid classes and I’m sure that anyone who can figure out what adding multiple classes would do is comfortable writing it with their meat hooks.
Glad to say that SM is also the default grid size how.
In the future make sure to check github https://github.com/TheWebShop/bootstrap-shortcodes for issues and updates, thanks!
Forum: Plugins
In reply to: [Bootstrap Shortcodes] [PROPOSAL] Use col-sm as defaultGlad to say that SM is now the default. The change was made in https://github.com/TheWebShop/bootstrap-shortcodes/pull/49
In the future make sure to check github for issues and updates, thanks!
Forum: Themes and Templates
In reply to: Theme redirects ajax requests for users that are not logged inWell the “patch” is to not highjack the ajax requests like this theme was doing. I imagine he just found a better way to protect his admin area. I can’t really suggest a fix though, since in this theme all you would need to do is remove the hook noted above.
I would recommend searching foradd_action('init'
or/wp-admin
in your theme to see if it’s the same problem, if yes, decide how else to do whatever those lines are doing instead of just wholesale blocking access to the admin files of WP.Forum: Themes and Templates
In reply to: Theme redirects ajax requests for users that are not logged inThe author of Classifieds Theme updated the theme to patch the problem. Are you experiencing a similar problem?
Forum: Themes and Templates
In reply to: Theme redirects ajax requests for users that are not logged inSOLUTION: the theme was using an ‘init’ hook to protect its admin area, but this was also redirecting anonymous ajax requests. When I can find a safe way to disable this without compromising the admin area I will post.
// stop users accessing the admin add_action('init', array( $this, 'prevent_admin_access' ), 0); function prevent_admin_access() { if (strpos(strtolower($_SERVER['REQUEST_URI']), '/wp-admin') !== false) { $current_user = wp_get_current_user(); if(!user_can($current_user->ID, 'administrator') && ( !user_can($current_user->ID, 'contributor') ) ){ wp_redirect(get_option('siteurl')); } } }
Forum: Themes and Templates
In reply to: Theme redirects ajax requests for users that are not logged inFair enough, I was really just hoping for how a theme might be able to get in the way of a an ajax request like this, so that I could search it out in the source myself.