Per Søderlind
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] TablePress Extension: ChartistAdded more optional parameters
- Show/hide chart line:
chartist_showline=true(default:true) - Show/hide show chart area:
chartist_showarea=false(default:false) - Set chart y low:
chartist_low=0(default: table low) - Set chart y high:
chartist_high=10(default: table high) - Enable/disable smooth line:
chartist_linesmooth=true(default:true) - Enable/disable line points:
chartist_showpoint=true(default:true) - Set chart aspect ratio:
chartist_aspect_ratio=3:4(default:3:4) Alternatives: 1, 15:16, 8:9, 5:6, 4:5, 3:4, 2:3, 5:8, 1:1.618, 3:5, 9:16, 8:15, 1:2, 2:5, 3:8, 1:3 or 1:4
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] TablePress Extension: ChartistThank you 🙂
Forum: Plugins
In reply to: [Date and Time Picker Field] incorrect time is being displayed.Use the
date_i18nfunction, see exampels here: http://soderlind.no/time-picker-field-for-advanced-custom-fields/#Changing_date_and_time_formatForum: Themes and Templates
In reply to: [Editor] editor-font-awesome-css, ie7-style and child themeYepp .. was a bit quick, get_template_directory_uri() is the correct function.
Just updated to 1.0.4 and I can confirm it works fine with my child theme 🙂
Thanks
Forum: Plugins
In reply to: [Duo Two-Factor Authentication] Error logging inSame here, had to revert back to 1.8.1
I’m using w3 total cache and cloudflare
Forum: Plugins
In reply to: [Date and Time Picker Field] Broken in ACF 4.3.5Fixed in v 2.0.13
No, it’s 47:
Core File Modified: 47 ./wp-includes/admin-bar.php ./wp-includes/css/buttons-rtl.min.css ./wp-includes/css/admin-bar-rtl.min.css ./wp-includes/css/buttons.min.css ./wp-includes/css/admin-bar.min.css ./wp-includes/css/admin-bar.css ./wp-includes/css/wp-pointer.min.css ./wp-includes/css/media-views.css ./wp-includes/css/admin-bar-rtl.css ./wp-includes/css/buttons.css ./wp-includes/css/wp-pointer-rtl.min.css ./wp-includes/css/buttons-rtl.css ./wp-includes/css/dashicons.min.css ./wp-includes/css/media-views.min.css ./wp-includes/css/media-views-rtl.min.css ./wp-includes/css/wp-pointer-rtl.css ./wp-includes/css/wp-pointer.css ./wp-includes/css/media-views-rtl.css ./wp-includes/css/dashicons.css ./wp-includes/functions.php ./wp-includes/class-oembed.php ./wp-includes/fonts/dashicons.woff ./wp-includes/fonts/dashicons.svg ./wp-includes/fonts/dashicons.ttf ./wp-includes/fonts/dashicons.eot ./wp-includes/query.php ./wp-admin/user-edit.php ./wp-admin/js/dashboard.min.js ./wp-admin/js/theme.js ./wp-admin/js/common.min.js ./wp-admin/js/dashboard.js ./wp-admin/js/common.js ./wp-admin/js/theme.min.js ./wp-admin/about.php ./wp-admin/css/wp-admin.css ./wp-admin/css/install.min.css ./wp-admin/css/wp-admin.min.css ./wp-admin/css/install-rtl.min.css ./wp-admin/css/install.css ./wp-admin/css/wp-admin-rtl.min.css ./wp-admin/css/wp-admin-rtl.css ./wp-admin/includes/misc.php ./wp-admin/includes/class-wp-comments-list-table.php ./wp-admin/includes/theme.php ./wp-admin/includes/dashboard.php ./wp-admin/themes.php ./wp-admin/post.phpForum: Plugins
In reply to: [CMS Tree Page View] CMS Tree Page View and Advanced Custom FieldsDoesn’t happen on my site running acf 4.3.0 and CMS Tree Page View 1.2.19
Forum: Plugins
In reply to: [Digg Digg] Shares lost after URL redirect.. I’ve blog about the hack at http://soderlind.no/wordpress-hook-into-another-hook/
Forum: Plugins
In reply to: [Digg Digg] Shares lost after URL redirectHere’s a hack I made:
function get_soderlind_permalink($permalink, $post, $leavename) { // Code from: http://encosia.com/preserving-social-sharing-counters-through-a-url-change/ // Old permalink: /archives/%year%/%monthnum%/%day%/%postname%/ // New permalink: /%postname%/ // // Changed URL structure from /archives/yyyy/mm/dd/slug to /slug on // 1/12/2013. This ensures older posts still present the old URLs // to Digg Digg so that share counts are maintained. // // only run when get_permalink is called from dd_hook_wp_content if ( function_exists('wp_debug_backtrace_summary') && stristr(wp_debug_backtrace_summary(), 'dd_hook_wp_content') !== FALSE) { $url_change_date = strtotime( "12.1.2013" ); // use a date format strtotime understands. see notes at http://php.net/manual/en/function.strtotime.php $post_date = strtotime( get_the_date( ) ); if ( $post_date < $url_change_date ) { $url_date_prefix = sprintf("/archives/%s/%s/%s", date( "Y", $post_date ), date( "m", $post_date ), date( "d", $post_date )); $permalink = str_replace( site_url(), site_url() . $url_date_prefix, $permalink ); } } return $permalink; } add_filter( 'post_link','get_soderlind_permalink', 20, 3 )Forum: Plugins
In reply to: [Date and Time Picker Field] Field values do not showPlease see my comment at github
As m.murai says, there’s a problem with ACF 4.1.5 and up
Forum: Plugins
In reply to: [WP2Cloud] Tables not stored in the cloud storageso, I ran
ALTER TABLE wp_posts ENGINE=ClouSE;and got the following error:ERROR 1214 (HY000): The used table type doesn't support FULLTEXT indexesThe reason is that some plugins have added full text indexes to wp_posts. To fix this, do the following (adapted from http://stackoverflow.com/a/1228723/1434155):
SHOW CREATE TABLE wp_posts;It will show you all your fulltext indexes like this:
…, FULLTEXT KEY key_name (column_list), …Drop all these keys:
ALTER TABLE wp_posts DROP INDEX key_name;, then convert:
ALTER TABLE wp_posts ENGINE= ClouSE;Before you do this, take a backup
Forum: Plugins
In reply to: [WP2Cloud] Wish2: Add Cache-Control max-ageI used Bucket Explorer to change the max-age.
Forum: Plugins
In reply to: [WP2Cloud] Wish2: Add Cache-Control max-ageEh .. how can I update / add the max-age for existing images ? I’m using cloudfront.
Forum: Plugins
In reply to: [WP2Cloud] Wish2: Add Cache-Control max-ageThank you ! 🙂
- Show/hide chart line: