c_cav
Forum Replies Created
-
So my format is as follows:
Album Album Album Models -> Austin -> Model 1 -> images Model 2 etc Houston DallasEach 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.
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?
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
In reply to: Need help with sending jsNevermind…
Just found localize script…
That should do it for me.
Forum: Hacks
In reply to: Displaying output from one table based on the info of anotherFirst, 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_idForum: Hacks
In reply to: Modifying post type – using the registered_post_type hookfunctions.php in your theme will work. Mine is in my plugin code.
Forum: Hacks
In reply to: $wpdb->num_rows incorrect$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
In reply to: Replacing slug in CPTI just posted instructions on how to modify a custom post type.
Forum: Plugins
In reply to: [CalPress Calendar] Manage VenuesThanks,
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?