Title: c_cav's Replies | WordPress.org

---

# c_cav

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

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

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Album with 6 sub albums – sub albums do not display in parent album?](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [12 years, 12 months ago](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/#post-3750883)
 * So my format is as follows:
 *     ```
       Album      Album     Album
       Models -> Austin -> Model 1 -> images
                           Model 2 etc
                 Houston
                 Dallas
       ```
   
 * Each of the regional albums could hold 100’s of models, and each model could 
   have hundreds of photos. I cannot create each cover as a slideshow with links,
   it’s just not maintainable.
 * What I am wanting is that the cover images for all the models albums under Austin
   to show up in the Austin album cover…
 * How can I do this?
 * On your website page there is a widget that looks exactly like what I am wanting,
   it shows each sub album cover grouped together in a single cover. It’s titled“
   Thumbnail Albums” in the tutorial. That how I want the models to show up in each
   region. Where I click on the cover thumbnail and then see the models photo’s.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Album with 6 sub albums – sub albums do not display in parent album?](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years ago](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/#post-3750836)
 * Then what does this mean??
 * %%album=xx%% to show the contents of album xx.
    **It displays the covers of sub-
   albums (if any)** and thumbnails of the photos in the album (if there are more
   than the tresholdvalue as specified in the Photo Albums -> Settings page.
 * I have sub albums with literally 100’s of sub albums in each. I cannot do that
   for a thousand sub albums? And I cannot have 100’s of covers on a formatted page
   within the website?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Photo Album Plus] Album with 6 sub albums – sub albums do not display in parent album?](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years ago](https://wordpress.org/support/topic/album-with-6-sub-albums-sub-albums-do-not-display-in-parent-album/#post-3750637)
 * That is the shortcode I used, but each album is generating a separate column 
   item. I want a single item with all 6 thumbnails in it, one for each album cover,
   since no matter what I set the width to it won’t create multiple columns.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Need help with sending js](https://wordpress.org/support/topic/need-help-with-sending-js/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years ago](https://wordpress.org/support/topic/need-help-with-sending-js/#post-3705561)
 * Nevermind…
 * Just found localize script…
 * That should do it for me.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Displaying output from one table based on the info of another](https://wordpress.org/support/topic/displaying-output-from-one-table-based-on-the-info-of-another/)
 *  [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/displaying-output-from-one-table-based-on-the-info-of-another/#post-3607822)
 * First, analyze your desired output:
 * I want a table of data where the data consists of
    a.(data) joining.(data) b.(
   data)
 * WHERE a.data and b.data come from either side of the join.
 * i.e. I don’t care if person a and person b come from left side or right side 
   of join
 *     ```
       SELECT DISTINCT
           a.first_name AS spouse1_first_name,
           a.family_name AS spouse1_family_name,
           j.date_of_marriage,
           j.marriage_id,
           b.first_name AS spouse2_first_name,
           b.family_name AS spouse2_family_name
       FROM table2 j
         INNER JOIN table1 a
           ON a.id = j.person_id OR a.id = j.spouse_id
         INNER JOIN table2 b
           ON b.id = j.person_id OR b.id = j.spouse_id
       ```
   
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Modifying post type – using the registered_post_type hook](https://wordpress.org/support/topic/modifying-post-type-using-the-registered_post_type-hook/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/modifying-post-type-using-the-registered_post_type-hook/#post-3626850)
 * functions.php in your theme will work. Mine is in my plugin code.
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [$wpdb->num_rows incorrect](https://wordpress.org/support/topic/wpdb-num_rows-incorrect/)
 *  [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/wpdb-num_rows-incorrect/#post-3604673)
 * $wpdb->get_results( ‘SELECT COUNT(*) FROM $wpdb->rah_leads’ );
 * You are using single quotes, so $wpdb->rah_leads will not be evaluated by php.
   This will cause your SQL server to return an exception, which is probably why
   you always get 2 rows.
 * $wpdb->get_results( “SELECT COUNT(*) FROM {$wpdb->rah_leads}”);
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Replacing slug in CPT](https://wordpress.org/support/topic/replacing-slug-in-cpt/)
 *  [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/replacing-slug-in-cpt/#post-3623647)
 * I just posted instructions on how to modify a custom post type.
 * [See this post](http://wordpress.org/support/topic/modifying-post-type-using-the-registered_post_type-hook?replies=1)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[CalPress Calendar] Manage Venues](https://wordpress.org/support/topic/manage-venues/)
 *  Thread Starter [c_cav](https://wordpress.org/support/users/c_cav/)
 * (@c_cav)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/manage-venues/#post-3139700)
 * Thanks,
 * The plug-in description had that language in the free version instead of the 
   pro. You might want to fix that.
 * So if the venue is an attached list, but not a custom post type, can a standalone
   page be set up to allow users with certain roles to maintain the list of venues?
   Or is it only accessible via an event setup page?

Viewing 9 replies - 1 through 9 (of 9 total)