Title: danielmck's Replies | WordPress.org

---

# danielmck

  [  ](https://wordpress.org/support/users/danielmck/)

 *   [Profile](https://wordpress.org/support/users/danielmck/)
 *   [Topics Started](https://wordpress.org/support/users/danielmck/topics/)
 *   [Replies Created](https://wordpress.org/support/users/danielmck/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/danielmck/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/danielmck/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/danielmck/engagements/)
 *   [Favorites](https://wordpress.org/support/users/danielmck/favorites/)

 Search replies:

## Forum Replies Created

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/danielmck/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/danielmck/replies/page/2/?output_format=md)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Taxonomy archive](https://wordpress.org/support/topic/taxonomy-archive/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/taxonomy-archive/#post-2353827)
 * Okay i did the archive wrong,
    I now have a page with a list of all tags in a
   custom taxonomy using:
 *     ```
       <?php
             $taxonomy     = 'custom';
             $orderby      = 'name';
             $show_count   = 0;
             $pad_counts   = 0;
             $hierarchical = 1;
             $title        = '';
   
             $args = array(
               'taxonomy'     => $taxonomy,
               'orderby'      => $orderby,
               'show_count'   => $show_count,
               'pad_counts'   => $pad_counts,
               'hierarchical' => $hierarchical,
               'title_li'     => $title
             );
       ?>
   
       <ul>
             <?php wp_list_categories( $args ); ?>
       </ul>
       ```
   
 * And each tag list item goes to a page with all posts tagged with that custom 
   taxonomy tag using taxonomy-custom.php and:
 *     ```
       <?php $term = get_term_by( 'slug', get_query_var( 'term' ), get_query_var( 'taxonomy' ) ); ?>
   
               <?php if (have_posts()) : ?>
               <?php while (have_posts()) : the_post(); ?>
       ```
   
 * Now is it possible to make this page a wordpress ‘page’ template
    so that for
   each taxonomy tag i have a new page using the same template in which the user
   can write a bit of info about the particular taxonomy tag?
 * I created a page template using the taxonomy.php code but it doesn’t work because
   i’m guessing wordpress is using the archive.php instead through the template 
   hierarchy?
 * Hope i explained ok and thanks for any help
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Taxonomy archive](https://wordpress.org/support/topic/taxonomy-archive/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/taxonomy-archive/#post-2353612)
 * ok i found out how to show all custom taxonomies on a page through
 *     ```
       <?php $custom_query = new WP_Query( array( 'custom-taxonomy') ); ?>
   
         <?php while ( $custom_query->have_posts() ) : $custom_query->the_post(); ?>
       ```
   
 * now how do i show all posts tagged with one custom taxonomy?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widgets not showing in admin](https://wordpress.org/support/topic/widgets-not-showing-in-admin/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/widgets-not-showing-in-admin/#post-2304922)
 * Aaargh,
    found out what was wrong, i was editing my local copy of the theme instead
   of the one i had on my local server
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Widgets not showing in admin](https://wordpress.org/support/topic/widgets-not-showing-in-admin/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/widgets-not-showing-in-admin/#post-2304893)
 * O and i’m getting the ‘No sidebars defined’ warning
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add groups/teams](https://wordpress.org/support/topic/add-groupsteams/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/add-groupsteams/#post-2301493)
 * anyone?
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Allow users to write posts](https://wordpress.org/support/topic/allow-users-to-write-posts/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/allow-users-to-write-posts/#post-2295648)
 * Thanks but thats the tut i posted
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Allow users to write posts](https://wordpress.org/support/topic/allow-users-to-write-posts/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/allow-users-to-write-posts/#post-2295444)
 * [The tut link](http://www.wpdesigner.com/2008/03/01/how-to-use-wordpress-as-a-membership-directory)
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Allow users to write posts](https://wordpress.org/support/topic/allow-users-to-write-posts/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/allow-users-to-write-posts/#post-2295431)
 * I also found this tutorial:
    [](http://www.wpdesigner.com/2008/03/01/how-to-use-wordpress-as-a-membership-directory/)
 * But it was written in 2008 so think it might be a little out of date.
    eg, in
   the tutorial he mentions using role manager plugin but i think the same thing
   can be done now within the wordpress dashboard?
 * He has made a nice site with the tutorial, similar to what i want but mine will
   have commenting functionality.
 * Daniel
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233993)
 * Will defo have a look at that book, thanks.
 * I’ve just tried out the code, it half works,
    each social comes up like this(
   using facebook as an example:
 * mysite/wp-content/themes/mythemeFacebook profile
 * on the webpage it shows that url then the facebook link right on the end, it 
   links to the correct url.
 * All that is wrong is that the icon doesn’t show and my theme location url shows.
   
   If it matters i’m creating a child theme using bones.
 * Daniel
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233985)
 * As i said i don’t know much about php,
    but it looks like it’s doing the same
   thing as my code except alot better, the second part of your code will show each
   profile if it exists, just with one bit of code, instead of my code which was
   to show each profile with the same code repeated for each profile name which 
   would be alot of code.
 * What i was wondering was does it stil use the custom fields, but now
    after reading
   through it again i realise that the first bit of your code is using the custom
   fields. I hope i’ve understood it properly??
 * I haven’t been able to try your code out yet, but i will be back
    at my own computer
   tomorrowand will let you know how it goes.
 * Thanks
    Daniel
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233981)
 * Thanks wlindley for the help,
 * Can you explain to me how i would use this code?
    Is it simply just replacing
   my php with the code you reccomended or is there more i need to do to make it
   work?
 * Daniel
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233970)
 * Heres the cap on imageshack
    [http://img842.imageshack.us/img842/9055/socialside.jpg](http://img842.imageshack.us/img842/9055/socialside.jpg)
 * I input the custom fields and the icon for that social profile shows
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233968)
 * Hi wlindley
 * > You could setup an array of the various website names and use a loop.
 * Could you go a bit more indepth on this, i don’t really how this would be done.
 * > Also, letting folks put any arbitrary URL which will look like an official 
   > link, is probably a Bad Idea.
 * The way i’m doing it is the ‘user’ will fill out a form with all the necessary
   info and i will write it in manually, i have an image
    of how my post displays
   at the moment but i don’t know how to upload it here lol
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Using custom fields to display social icons](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/using-custom-fields-to-display-social-icons/#post-2233956)
 * Anybody?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Listing Categories](https://wordpress.org/support/topic/listing-categories-2-2/)
 *  Thread Starter [danielmck](https://wordpress.org/support/users/danielmck/)
 * (@danielmck)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/listing-categories-2-2/#post-2222859)
 * Never mind i figured it out.
    Thanks

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/users/danielmck/replies/page/2/?output_format=md)
[→](https://wordpress.org/support/users/danielmck/replies/page/2/?output_format=md)