WP SITES
Forum Replies Created
-
Forum: Plugins
In reply to: [WordPress Share Buttons Plugin – AddThis] Adding Code to every pageHere’s how to load the AddThis script on every page
Forum: Requests and Feedback
In reply to: WordPress' Twenty Fifteen Default ThemeIs it possible to contribute to the Twenty Fifteen default theme?
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Adding Meta KeywordsForum: Themes and Templates
In reply to: [Twenty Fourteen] slider on static front page ( Polylang)What file is the slider code in?
You can create a front-page.php file and put the slider code in there or use the is_front_page() conditional tag in your header.php file
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Adding Javascript to child-themeCreate a child theme first and then use wp_enqueue_scripts function for the new JS file.
Forum: Themes and Templates
In reply to: [Twenty Fourteen] Add button to 20 14 headerBefore you header or inside your header area?
You could hard code it into your header.php file if you want it to display within the header area and then use CSS to position it.
Create a new page and select the contributors page template from the Page Attributes meta box on the Iedt Page screen
Forum: Themes and Templates
In reply to: [Twenty Fourteen] 20 14 Footer Widget BackgroundUse Firebug to find the classes and change them in real time using the browser app before editing your CSS.
Please create a child theme for editing/modifying code.
Forum: Themes and Templates
In reply to: [Theme twentyfourteen] Continue Reading ›Did you check you feed?
It only applies to the feed because it uses the is_feed() conditional tag
Forum: Themes and Templates
In reply to: [Theme twentyfourteen] Continue Reading ›No. You add this to your functions file. Create a child theme first. http://codex.ww.wp.xz.cn/Child_Themes
Use
get_template_directory_uri()for parent themes.function wpsites_custom_style_sheet() { wp_enqueue_style( 'custom-styling', get_template_directory_uri() . '/custom.css' ); } add_action('wp_enqueue_scripts', 'wpsites_custom_style_sheet');For child themes, use this
Forum: Themes and Templates
In reply to: [Theme twentyfourteen] Continue Reading ›Try this http://codex.ww.wp.xz.cn/Function_Reference/the_excerpt
You could filterthe_excerpt()and add theis_feed()conditional tag
Something like this: (untested)add_filter( 'excerpt_more', 'wpsites_excerpt_more' ); function wpsites_excerpt_more( $more ) { if ( is_feed() ) return ' <a class="read-more" href="'. get_permalink( get_the_ID() ) . '">' . __('Read More', '$text_domain') . '</a>'; }Forum: Themes and Templates
In reply to: [Customizr] Slider with Multiple LinksYou mean a plugin? Try Soliloquy https://ww.wp.xz.cn/plugins/soliloquy-lite/
Forum: Themes and Templates
In reply to: Adding more menus to the twenty fourteen theme?There’s 2 steps:
1. Register the menu in your functions file
http://codex.ww.wp.xz.cn/Function_Reference/register_nav_menu
register_nav_menu( 'third-menu', 'Third Menu' );2. Display it in your theme
http://codex.ww.wp.xz.cn/Function_Reference/wp_nav_menu
<?php wp_nav_menu( array('theme_location' => 'third-menu' )); ?>Source http://wpsites.net/web-design/2-ways-to-add-new-navigation-menus-in-any-wordpress-theme/