WP SITES
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: display multiple pages on one pageMartin, forget the plugin.
You haven’t stated exactly what content you want to display.
Just the page titles, excerpts or full content of each page?
For Linked Page Titles Only:
You can also use wp_list_pages if you only want the title
<?php wp_list_pages('include=7,13,26,35&title_li=' ); ?>Displays a list of WordPress Pages as links
You can use the tag directly in any template file or in a custom function with hook and conditional tag.
Otherwise, use the new WP_Query code above by alchymyth however you will need to add tags for the excerpt, content or get_template_part here (//print any output you want per page//) as it doesn’t include them and will display nothing as is.
Forum: Themes and Templates
In reply to: Move sidebar from left to rightCreate a child theme or site specific plugin for any CSS modifications or PHP code additions.
Forum: Plugins
In reply to: [Fonts] Fonts by Dalton dissappearedIt only appears in the visual editor so you won’t see it if using the text editor.
Forum: Plugins
In reply to: [Fonts] DashboardNo advertising.
Simply a latest posts widget like the WordPress news widget.
Thanks Richard
Did see that however would like a more flexible option if you ever get the chance.
Just love hooks and conditional tags but i do understand it requires people to make this happen in the plugins code.
Or a widget because its super easy to hook in new widgets anywhere.
Forum: Plugins
In reply to: [SEO Friendly Images] Custom Post TypesThat’s the problem with plugins.
Its very easy to create the CPT with code.
You may need to consult the plugin author or remove the plugin and create your own CPT.
add_action( 'init', 'wpsites_cpt_post_type' ); function wpsites_cpt_post_type() { register_post_type( 'cpt', array( 'labels' => array( 'name' => __( 'CPT', 'theme' ), 'singular_name' => __( 'CPT', 'theme' ), ), 'has_archive' => true, 'hierarchical' => true, 'menu_icon' => true, 'public' => true, 'rewrite' => array( 'slug' => 'cpt', 'with_front' => false ), 'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'revisions', 'page-attributes' ), 'taxonomies' => array( 'cpt-type' ), )); }And add taxonomies
add_action( 'init', 'wpsites_register_taxonomy_types' ); function wpsites_register_taxonomy_types() { register_taxonomy( 'cpt-type', 'cpt', array( 'labels' => array( 'name' => _x( 'Types', 'taxonomy general name', 'theme' ), 'add_new_item' => __( 'Add New CPT Type', 'theme' ), 'new_item_name' => __( 'New CPT Type', 'theme' ), ), 'exclude_from_search' => true, 'has_archive' => true, 'hierarchical' => true, 'rewrite' => array( 'slug' => 'cpt-type', 'with_front' => false ), 'show_ui' => true, 'show_tagcloud' => false, )); }Then you could try adding the template tag for the plugin to this line in your CPT code.
Forum: Plugins
In reply to: [ShareThis: Free Sharing Buttons and Tools] Can I put manually in the pages?Adam, appreciate your work on this but it involves modifying the plugins code.
Forum: Fixing WordPress
In reply to: Creating a custom Category page for a custom taxonomyDid you resave your Permalinks after registering the taxonomy?
I wouldn’t use category in the name of the taxonomy either.
Read this http://codex.ww.wp.xz.cn/Template_Hierarchy#Custom_Taxonomies_display
Forum: Themes and Templates
In reply to: Changing Text and Link Colors in style.css Beautiful pro themeAdd this code at the end of your child themes style.css file and change the colors.
Links
a { color: #FFFF00; text-decoration: none; }and
a:hover { color: #FFFF00; text-decoration: none; }Try inspecting each element from the front end with a browser tool like Firebug to find the correct classes and change them in real time using the browser.
Font Color
body { color: #444444; }Forum: Themes and Templates
In reply to: [Openstrap] Hide Menu on One Page onlyGrab the i.d from body class section of the source code and the class for the menu and add the CSS at the end of your style sheet.
Impossible to say without inspecting your site as different themes use different classes.
Forum: Fixing WordPress
In reply to: Want to remove white spaceAt the end of the file.
Forum: Fixing WordPress
In reply to: wanna change my profile email idCreate a new one with new email address, assign posts to the new one and delete the old one.
Forum: Plugins
In reply to: [SEO Friendly Images] Custom Post TypesYou could try adding the template tag for the plugin to this line in your CPT code:
'supports' => array( 'plugin_tag',Forum: Plugins
In reply to: [Fonts] Work with WP3.8.1 & Tempera?Should be o.k Bob