Forum Replies Created
-
AuthorPosts
-
ar
ParticipantHi Ernest,
Sorry to be a pest, but I was wondering if you had a chance to look at the gutter issue with the isotope layout? (or whether or not you could point me in the right direction so I can hard-code the gutter percentage?)If there is no quick solution, do you think this is something you might update in future versions of the plugin? (I’m just trying to manage client expectations, etc.)
Again, many many thanks for your help,
Annear
ParticipantSUCCESS!!!!!! Thank you SO MUCH for all your help in getting this to work.
One last question, does the isotope functionality come from http://isotope.metafizzy.co/? I ask because, if possible, I’d like to try and hard code the grid item and gutter widths (b/c elsewhere in the site, the grid/ gutter values are percentages (to help with responsive layouts) and I would like to keep things consistent). Is that possible? If so, can you point me to the files that I would need to edit?
Again, thanks for helping me figure this stuff out.
Have a great holiday season!
Annear
ParticipantHi Again 🙂
the code {design} <span class=colorway>{colorway}</span>
is just set up to add a span tag to the colorway term. I added this code at the very end, so i don’t think it’s the problem, (but what do I know?)
Not sure why you can’t log in to either the ftp or WP site – I tested the login credentials on this end and both seem to be working.
In any event, I’m attaching a png describing what I’m trying to accomplish.
Again, many thanks for your help!
Annear
ParticipantHi Ernest,
I’ve added a copy of the site I’m working on to my server, and created usernames and passwords for WP and ftp logins. (if ftp gives you trouble try port 21)
Just to outline the file structure
Product Post Type (post type and custom taxonomy are registered here)
plugins/FSSproducts/index.phpFunctions file:
I’ve added the asp filtering code to the top of the functions file to make it easier to findTemplate file:
page-templates/FSS_collection_template.phpCustom css
I think I’ve moved all the custom styles to the plugin interface, but in case something is missing, most of the theme’s styles are contained in library/css/main.ccLastly, I’m also have trouble setting a gutter width for the isotopic search results. For the normal grid display I’m using the standard jquery isotope plugin – would that somehow cause a conflict?
many thanks again for all your help,
Annear
ParticipantHi Ernest!
Thanks for getting back to me so quickly. I’m going to put up a copy of the site on a staging server to hopefully make it easier to figure out what’s wrong – what’s the best way to send you admin/ login credentials?
Thanks Again,
Annear
ParticipantHi there,
Thanks again for the help. I’ve tried the taxonomy slug name and the proper name (plural and singular), but the plugin is still only returning the term id. Is there something else I might try?
Many thanks!
Annear
ParticipantFirstly, thank you so much for the speedy reply!
I tried the code above using the taxonomy single name, the plural name and the slug without success.
code is below:
[code]
add_filter( ‘asp_pagepost_results’, ‘asp_add_term_titles’, 1, 1 );function asp_add_term_titles( $pageposts ) {
foreach ($pageposts as $k=>$v) {// Edit this to the taxonomy you are using
$taxonomy = "Design";// Get the taxonomy terms
$post_terms = wp_get_post_terms( $pageposts[$k]->id, $taxonomy );
$terms = "";// Concatenate category names to the $cats variable
foreach($post_terms as $c){
$term = get_term( $c, $taxonomy );
$terms = " ".$term->name;
}// Modify the post title
$pageposts[$k]->title .= " ".$terms;
}return $pageposts;
}
[/code]any thoughts on what else I might try?
Many thanks for your help,
Anne -
AuthorPosts