vralle
Forum Replies Created
-
Forum: Plugins
In reply to: [Add From Server] AFS v3.3.x and media pathclass.add-from-server.php, line 377:
replace
$new_file = str_replace( wp_normalize_path( $uploads['basedir'] ), $uploads['basedir'], $new_file );
with old fix
$new_file = str_replace( strtolower(str_replace('\\', '/', $uploads['basedir'])), $uploads['basedir'], $new_file);
W10x64 – work!)
Forum: Plugins
In reply to: [Add From Server] AFS v3.3.x and media pathupdate
Forum: Plugins
In reply to: [Add From Server] AFS v3.3.x and media pathYep, local server and W10x64
I look on my online server (Debian) now.
WP dir:/usr/www/site/wp
WP media dir:/usr/www/site/media
add file
/usr/www/site/media/example/pack_p.jpg"
and return wrong urlhttps://media.site.com/_site_com/example/pack_p.jpg
Forum: Fixing WordPress
In reply to: Comment Form Submit ButtonCustomize submit area for comment form
function custom_comment_form_defaults($args = array()) { // * Submit * $args['id_submit'] = 'submit'; $args['name_submit'] = 'submit'; $args['class_submit'] = 'btn btn-primary'; $args['label_submit'] = __( 'Post Comment', 'mytheme' ); $args['submit_button'] = '<input name="%1$s" type="submit" id="%2$s" class="%3$s" value="%4$s" />'; $args['submit_field'] = <p class="form-submit">%1$s %2$s</p>'; return $args; } add_filter( 'comment_form_defaults', 'custom_comment_form_defaults' );
full list arguments for coomment form: https://github.com/WordPress/WordPress/blob/4.2-branch/wp-includes/comment-template.php#L2138
Forum: Fixing WordPress
In reply to: Turn On HTML5 Comment Form ValidationI do not know why it was added “novalidate” for the entire form. Probably been difficult for some input. In this case, could be used recommended markup: https://www.w3.org/TR/html5/forms.html#attr-fs-formnovalidate
Currently to use form validation, you must disable support HTML5:
remove_theme_support('html5', 'comment-form');
May be, if needed re-create form fields using form hooks.Forum: Plugins
In reply to: [Easy External Links] Fix blank spaceJorge, many thanks for plugin!
Forum: Themes and Templates
In reply to: [The Bootstrap] Removing the excerpt "continue reading" linkmy clear way:
function hwlab_excerpt_txt() { remove_filter( 'get_the_excerpt', 'the_bootstrap_custom_excerpt_more' ); the_excerpt_rss(); }
it work fine fore me.
Forum: Themes and Templates
In reply to: [The Bootstrap] Modifying cssDo I edit the style.css file and then regenerate the style.min.css?
yep!
how to I regenerate the minified version of that file?
may be https://devilo.us/ or other WEB-tools
Forum: Themes and Templates
In reply to: [The Bootstrap] Problem with WP-PageNavi in Bootstrap Themelook again and small fix:
.pagination ul > li > span { float: left; padding: 4px 12px; line-height: 20px; text-decoration: none; background-color: white; border: 1px solid #DDD; border-left-width: 0; } .pagination ul > li:first-child > span { border-left-width: 1px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -moz-border-radius-topleft: 4px; }
or update Bootstrap.min.css to current – 2.2.1
Forum: Themes and Templates
In reply to: [The Bootstrap] Problem with WP-PageNavi in Bootstrap Theme@szczaw
try to update bootstrap files manually: https://twitter.github.com/bootstrap/index.htmlForum: Themes and Templates
In reply to: [The Bootstrap] Problem with WP-PageNavi in Bootstrap Themethere is no reason to use together lightbox.js and highslide.js.
select oneForum: Themes and Templates
In reply to: [The Bootstrap] Problem with WP-PageNavi in Bootstrap ThemeForum: Themes and Templates
In reply to: [The Bootstrap] Problem with WP-PageNavi in Bootstrap Themethe bootsrap have function like page navi. pagenavi not need
Forum: Themes and Templates
In reply to: [The Bootstrap] when is bootstrap files updating to 2.2.1?you can use theme from github: https://github.com/obenland/the-bootstrap
or manualy update bootsrap files.resolved for me:
/* * Remove theme support */ add_action ('after_setup_theme', 'remove_tm_support', 11); function remove_tm_support() { remove_theme_support('custom-background'); }