Alex
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [Hueman] Customize dropdowns brokenAnd another thing – I noticed that the dropdowns don’t show the fancy styling that they’re meant to have, with the layouts displayed etc. I mention this just in case it helps with diagnosis somehow. Here’s a screenshot: https://imgur.com/RXYdH9k
Forum: Themes and Templates
In reply to: [Hueman] Customize dropdowns brokenOh, btw – in case it makes a difference, I am using WordPress Multisite. I have tested this on a standalone site (using MAMP) and don’t see this problem.
Forum: Themes and Templates
In reply to: [Hueman] Customize dropdowns brokenThanks, I’ll try it when it hits the wordpress repository. I’ve actually had this problem for weeks though – I think since 3.1 – and have already installed a couple of point upgrades hoping it would fix itself.
I’m quite bewildered by this problem as I would imagine that if anyone had it, you’d definitely hear about it. But I’ve excluded just about everything I could think of and can’t find any likely culprit for weird plugin interactions etc. Gahhh!
Forum: Themes and Templates
In reply to: [Hueman] Customize dropdowns brokenBtw I also see this in “Footer -> Footer Design”.
Thanks, Alin!
Any response to this?
Ping?
Not really interested in replacing the plugin, especially as I’ve spent considerable time setting up some quite complex shortcodes.
I’d love a reply from @vaakash saying whether this bug might be fixed!
And a further note: if you were interested in fetching the primary category from Yoast, it looks like it’s something like:
$primary_term = new WPSEO_Primary_Term( $main_tax, $this->post->ID );
Damn. I just realised that the “Primary category” feature is not in WordPress itself but is a part of the Yoast SEO plugin.
I’m still a bit worried that just a single category ends up being reported to GA – this is likely to cause confusion. Not sure how you’d get around it, though, other than by calling on Yoast SEO! It seems like a fairly high proportion of people who are using custom dimensions in the Google Analytics Dashboard for WP plugin would also be using Yoast SEO, though. Maybe something to consider?
Anyone?
Yes, older posts will be broken. See other recent support threads for ways to fix it.
Forum: Plugins
In reply to: [Posts in Page] Is it possible to skip posts?And a further note… I just realised I made an error in the code above and that made me realise that you don’t even need to add the code at all, because any additional args will just get passed straight through to WP_Query.
So in short: yes there is an (undocumented) argument that does this, and it’s called “offset”. No code modifications needed. Hurrah!
Forum: Plugins
In reply to: [Posts in Page] Is it possible to skip posts?Thanks! Since there’s no such feature as yet, I went and dug around in the code and found it was VERY simple to add. I simply added these two lines under the current line 136 of inc/page_posts.php:
if ( isset( $atts[‘offset’] ) )
$this->args[ ‘posts_per_page’ ] = $atts[‘offset’];This then gets passed through to WP_Query and does exactly the right thing. The shortcode parameter is of course “offset” i.e.
[ic_add_posts showposts=3 offset=3]
Any chance of getting this added into the next version of the plugin so my tweaks don’t get overwritten when I update?