theshae
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Custom profile field file upload not workingall of the extra fields work as they should on the back end, and all of them work on the front end except for the upload fields.
I’m just looking for ideas of what the problem could be or ideas on how to fix it.
Forum: Plugins
In reply to: [Exports and Reports] Show in page (Shortcode or template)Ditto! That would be a great feature
I dont understand how to get this working.
I am using the below code to show some posts.
query_posts('category_name=breaking-news');
How do I get the post to show where the shortcode is placed in the content?
like gggt mine shows at the bottom.
Forum: Fixing WordPress
In reply to: 'Repeatable' sets of fields using add_meta_box?You should check out the advanced custom fields plugin its free but the repeater is a $25 add on (well worth it)
https://www.ads-software.com/extend/plugins/advanced-custom-fields/Forum: Fixing WordPress
In reply to: wp_list_categories, show_count and taxonomyHow would I go about generating a list of terms from multiple taxonomies?
I cant get the watermark feature to work at all. I have the full path of my .png file. Its shows in the preview. The progress bar goes through 100%, but no watermark shows up. any ideas? I am using the latest version of WP and NG allow_url_fopen is on (at least it says it is} Im on media temple too.
Forum: Themes and Templates
In reply to: Customising the output of wp_list_categoriesPat, I’ve been trying to figure this out, but have not had any luck. Im trying to get the output of wp_list_categories to look like this:
<ul data-role="listview"> <li data-role="list-divider">PARENT-TERM</li> <li><a href="/child-term">CHILD-TERM</a></li> <li><a href="/child-term">CHILD-TERM</a></li> <li><a href="/child-term">CHILD-TERM</a></li> <li data-role="list-divider">PARENT-TERM</li> <li><a href="/child-term">CHILD-TERM</a></li> <li><a href="/child-term">CHILD-TERM</a></li> <li><a href="/child-term">CHILD-TERM</a></li> </ul>
Any ideas?
Forum: Fixing WordPress
In reply to: wp_list_categories, show_count and taxonomyI am taking in as much as I can and learning quickly!
Thanks again.
Forum: Fixing WordPress
In reply to: wp_list_categories, show_count and taxonomyAhh, worked perfect!
Thanks alot alchymyth
what does the
'echo' => 0,
do?Forum: Fixing WordPress
In reply to: wp_list_categories, show_count and taxonomyI did, but it looks like it is handling taxonomy terms a little different.
this works fo just categories:<?php $variable = wp_list_categories('echo=0&show_count=1&title_li=<h2>Categories</h2>'); $variable = str_replace(array('(',')'), '', $variable); echo $variable; ?>
but this wont work for the taxonomy terms:
<?php //list terms in a given taxonomy using wp_list_categories (also useful as a widget if using a PHP Code plugin) $taxonomy = 'jobtype'; $orderby = 'name'; $show_count = 1; // 1 for yes, 0 for no $pad_counts = 0; // 1 for yes, 0 for no $hierarchical = 1; // 1 for yes, 0 for no $title = ''; $empty = 0; $args = array( 'taxonomy' => $taxonomy, 'orderby' => $orderby, 'show_count' => $show_count, 'pad_counts' => $pad_counts, 'hierarchical' => $hierarchical, 'title_li' => $title, 'hide_empty' => $empty ); ?> <ul data-role="listview"> <?php $variable = wp_list_categories( $args ); $variable = str_replace(array('(',')'), '', $variable); echo $variable; ?> </ul>
I’m trying to wrap the show_count in:
<span class="ui-li-count">12</span>
Forum: Plugins
In reply to: I'm trying to update the iCal Posts pluginAre you using this template with the plugin you mentioned? Will something like this work for a custom post type?
Forum: Alpha/Beta/RC
In reply to: Add option to hide new Admin BarYou could add this to the css:
#wpadminbar { display:none !important;}
The code will still be there, but the bar will not be visible.
Forum: Alpha/Beta/RC
In reply to: Add option to hide new Admin BarYou could add this to the css:
#wpadminbar { display:none !important;}
The code will still be there, but the bar will not be visible.
Forum: Fixing WordPress
In reply to: Add Custom Post Type to navicationI’m trying to get rid of the
<div class="menu"></div>
that automatically gets added to wp_nav_menu, but cant figure it out. Does anyone know how to do this?Forum: Fixing WordPress
In reply to: Get the term (custom taxonomy) name outside of the loop?Patrick, thanks for posting the code.
Its not quite working for me. It is returning the terms, but the links are not working.
i get this errror:
Warning: Missing argument 3 for get_term_by(), called in C:\wamp\www\M\wp-content\themes\jquerymobile\T-new-home.php on line 9 and defined in C:\wamp\www\M\wp-includes\taxonomy.php on line 874