Simon Barnett
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Login] No user can login with version 3.0.5 installedOne of my clients had an issue logging in with Custom Login version 3.0.8.1 and WordPress 4.1. Problem was resolved by disabling Custom Login. Will keep an eye open for updates.
Forum: Plugins
In reply to: [Custom Login] "Session expired" after a few secondsHi Austin,
This version: 3.0.8I see there’s a Session section in General Options. They are set to the default 2 and 14.
My timezone in WordPress General Settings is Johannesburg (UTC +2)Forum: Plugins
In reply to: [Genesis Simple Sidebars] Sidebar content falls outside of widget on CPTOk, sorted it. The solution was to buffer the html output like so:
ob_start(); ?> <ul> <?php wp_list_categories( $args ); ?> </ul> <?php return ob_get_clean();So my full code (after a bit of cleaning) is now as follows:
// Add Shortcode function charity_categories_shortcode() { $args = array( 'taxonomy' => 'charity-category', 'title_li' => '', ); ob_start(); ?> <ul><?php wp_list_categories( $args ); ?></ul><?php return ob_get_clean(); } add_shortcode( 'Charity Categories', 'charity_categories_shortcode' );The widget content (via shortcode) is now correctly inside the widget.
Forum: Plugins
In reply to: [Genesis Simple Sidebars] Sidebar content falls outside of widget on CPTThanks Ron,
After a few experiments I realised that just a minute ago.
In fact I don’t think it’s necessarily Genesis-related either.
Depending, I’ll delete or answer my earlier post there.I think it’s related to the shortcode I created to put in the widget.
I’ll continue looking into fixing the code below and post here for the KB:// Add Shortcode function charity_categories_shortcode() { $taxonomy = 'charity-category'; $orderby = 'name'; $show_count = 0; $pad_counts = 0; $hierarchical = 1; $title = 'Charity Categories'; $args = array( 'taxonomy' => $taxonomy, 'orderby' => $orderby, 'show_count' => $show_count, 'pad_counts' => $pad_counts, 'hierarchical' => $hierarchical, 'title_li' => $title ); ?> <ul> <?php wp_list_categories( $args ); ?> </ul> <?php } add_shortcode( 'Charity Categories', 'charity_categories_shortcode' );Forum: Plugins
In reply to: [Sticky Element] Detects end too soonTo partially answer my own question:
I had set up a large, extra <footer> to test pushing the sticky element up.
I used footer as the end selector in the plugin settings. I think seeing as the site already had a <footer> lower down the post and archive pages it confused the jQuery listener.I changed the end selector to the CSS class of my extra footer: .bigfoot and that fixed the issue.
This still doesn’t explain why it worked on pages but not posts. For flexibility I’d prefer to know the answer to that so I’ll leave this topic open in case there’s a quick technical explanation.
An example of flexibility would be a site where I have a special extra footer on some pages but not others. A way to cheat this would be to include an invisible, height: 0 extra footer on all the pages that don’t require an extra footer. Then the plugin will detect something.
Forum: Plugins
In reply to: [Sticky Element] Offset from Top – Only Part of Problem ResolvedHi wp-boffin, Youdaman,
I didn’t know about the version edited by pschena, so I made my own version with an offset field. I haven’t tested pschena’s version, but perhaps my version will work for you?
It also includes a consideration for when the WordPress Admin Bar is visible on the site.
Download Sticky-Element-with-Offset
Sample page with fixed primary nav, sticky secondary nav using custom jQuery, and Sticky-Element-with-Offset plugin applied to sidebar.
Note: when activating this version you should disable existing Sticky Element plugin to avoid an activation error.
Youdaman, you are welcome to include my modifications if they stand up to testing.
Forum: Plugins
In reply to: [Lazy Load for Videos] Non-clickable / video missing with URL query stringBasically if there’s a query string of any kind in the URL, then Vimeo isn’t properly parsed. Here’s an example with ?abc=xyz
Forum: Plugins
In reply to: [Lazy Load for Videos] Non-clickable / video missing with URL query stringI don’t see an “i” icon on either? I’m not sure what that’s about.
(and do you see an icon when there’s no query string in the URL on the live site? – seeing as Lazy Load works in that instance.)Forum: Plugins
In reply to: [Lazy Load for Videos] Non-clickable / video missing with URL query stringHi Kevin,
Sorry for the confusion. Those screenshots were from my test site where it’s working. The top video is the Vimeo. The bottom video is a YouTube video using Lyte. I’ve updated the code now so it only displays the Vimeo video on my test site. (the non-clickable problem still remains on the live site)
Forum: Plugins
In reply to: [Ultimate Posts Widget] Category within custom post type?Great plugin, but custom post type support without custom taxonomy support seems incomplete. Please add this. Thanks.
ah.. thanks again : )
Hi Khang, I had already tried that but it happened again when I re-installed the plugin. I tried it a third time and it worked. Thanks : )
Forum: Plugins
In reply to: [WP Font Awesome Share Icons] Validation ErrorsPerfect! Validation passed.. Thanks Spyros : )
Forum: Plugins
In reply to: [WP Font Awesome Share Icons] Validation ErrorsSorry Spyros, looks like I spoke too soon. The last two validation errors are also related to WPFAI’s email sharing link.
Error Line 255, Column 422: Bad value for attribute href on element a: Illegal character in query: not a URL code point.
…+your+mind%26amp%3Bhellip%3B” title=”E-Mail” class=”wpfai-envelope wpfai-link”>
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.
Error Line 300, Column 461: Bad value for attribute href on element a: Illegal character in query: not a URL code point.
…urf+war%2C%26amp%3Bhellip%3B” title=”E-Mail” class=”wpfai-envelope wpfai-link”>
Syntax of URL:
Any URL. For example: /hello, #canvas, or http://example.org/. Characters should be represented in NFC and spaces should be escaped as %20.Forum: Plugins
In reply to: [WP Font Awesome Share Icons] Validation ErrorsMany thanks Spyros, the update fixed it : )