ddorr
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: How to put custom fields in a list outside loopSorry, but I realized that my question fit better in Fixing WordPress
Forum: Themes and Templates
In reply to: [WP-Forge] How override menu by defaultThanks to you.
Regards.
Forum: Plugins
In reply to: [Fetch Tweets] Follow buttonHello, thanks!
That dont work. Just I need same button from template single in template plain. When set visibility follow button in the plain tab that show one button for each tweet.
By that reason I edited template.php looking solution.
Regards
Forum: Themes and Templates
In reply to: [WP-Forge] How override menu by defaultGreat tip. On foundation.css I edit menu-vertical then it works fine.
Thanks again.
Regards
Forum: Themes and Templates
In reply to: [WP-Forge] How override menu by defaultHello
Thanks by helping me.
On header.php I comment this code.<?php /*?> <?php if( get_theme_mod('wpforge_nav_select') == 'offcanvas' || get_theme_mod('wpforge_mobile_display') == 'yes') { ?> <?php get_template_part('content', 'off_canvas'); ?> <?php } // end if ?> <?php if( get_theme_mod('wpforge_nav_select','topbar') == 'topbar') { ?> <?php if( get_theme_mod('wpforge_nav_position') == 'scroll' || get_theme_mod('wpforge_nav_position') == 'fixed') { ?> <?php get_template_part('content', 'nav'); ?> <?php } // end if ?> <?php } // end if ?><?php */?>
Menu button option disappear in medium and small view above header but too the navbar under header. I guess best way to get it is changing breakpoint for small and medium. Where is the settings css en Wp forge?
regards
Forum: Fixing WordPress
In reply to: 2 comments.phpnice tip, thanks.
Forum: Plugins
In reply to: [Media from FTP] Out wp-contentThank you for your advice.
Forum: Themes and Templates
In reply to: [WP-Forge] how to change top-bar to mobile break pointThis is a good tip. I’ll keep that in mind.
Forum: Themes and Templates
In reply to: [WP-Forge] Excerpts don't workshello.
Thanks for comment. This is a site in localhost. but anyway I found the issue. It was a function for get active links in excerpt. I replaced by this:
function new_wp_trim_excerpt($text) { $raw_excerpt = $text; if ( '' == $text ) { $text = get_the_content(''); $text = strip_shortcodes( $text ); $text = apply_filters('the_content', $text); $text = str_replace(']]>', ']]>', $text); $text = strip_tags($text, '<a>'); $excerpt_length = apply_filters('excerpt_length', 55); $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]'); $words = preg_split('/(<a.*?a>)|\n|\r|\t|\s/', $text, $excerpt_length + 1, PREG_SPLIT_NO_EMPTY|PREG_SPLIT_DELIM_CAPTURE ); if ( count($words) > $excerpt_length ) { array_pop($words); $text = implode(' ', $words); $text = $text . $excerpt_more; } else { $text = implode(' ', $words); } } return apply_filters('new_wp_trim_excerpt', $text, $raw_excerpt); } remove_filter('get_the_excerpt', 'wp_trim_excerpt'); add_filter('get_the_excerpt', 'new_wp_trim_excerpt');
Thanks again.
Forum: Themes and Templates
In reply to: [WP-Forge] Get back to Font AwesomeThanks.
I used
function fontawesome_script() { wp_enqueue_style('wpforge-fonts', get_template_directory_uri() . '/fonts/wpforge-fonts.css' ); } add_action('wp_enqueue_scripts', 'fontawesome_script', 0);
Its works.
Forum: Themes and Templates
In reply to: [WP-Forge] Get back to Font AwesomeThanks a lot Tsquez.
I put that code in functions.php of wp-forge and worked well. But I wonder if is in wp-forge or in starter theme the right place.
Regards
Forum: Themes and Templates
In reply to: [WP-Forge] About background-color of .top-barHello
Thanks for advice. I did it, but I forget add !important.
Regards
Forum: Plugins
In reply to: [Contact Form 7] not receiving any emils from formfrenchy black I got the same problem. Check your default email in cpanel. Likely your emails are there.
Forum: Plugins
In reply to: [Maps Builder - Google Maps Plugin] Snazzy MapsIn the same way. We need a guide for add the new fantastic Snazzy Maps.
Thanks.
Forum: Plugins
In reply to: [Fetch Tweets] LanguageHello.
I tried via dashboard but didn’t change language. Any way to do that by editing some file?
Regards