teamlinx
Forum Replies Created
-
Forum: Plugins
In reply to: [Infinite-Scroll] Is this plugin working on 3.5?I ran into this problem and fixed it.
I noticed in console that infinite_scroll was undefined.infinite-scroll.php has a function called shouldLoadJavascript();
and on my custom templates the javascript wasn’t loading.maybe that will help
Forum: Plugins
In reply to: [Custom Content Type Manager] Query Custom Value when output is an ArrayYou are awesome man. That worked perfectly. I appreciate your help in here.
Awesome functionality. I was able to create a helper function that output linked custom values links that led to a custom query template page. Then using your code above the custom query grabbed the field and value from the query string and used it in a loop to show all posts with that field/value combo.
I’ll mark as resolved.
Forum: Plugins
In reply to: [Custom Content Type Manager] Query Custom Value when output is an ArrayI’m getting the value from a query string parameter so this would work perfect.
Thanks a lot!I didn’t see this in the documentation. Sorry for bugging you here man
Forum: Plugins
In reply to: [Custom Content Type Manager] Query Custom Value when output is an ArrayThanks for the reply and being active in your forum. I’ll try that.
Here is exactly what I’m trying to do in case you have a better solution in mind.
I’m doing a site for my buddy who’s a tattoo artist and I was using custom fields like: tattoo_placement = [‘neck’, ‘shoulders’, ‘sleeves’] and wanted the user to be able to click “Sleeves” and see all post_type=tattoo with tattoo_placement=sleeves.
The functionality is working with custom_fields that have a single value like a text input but when it came to an array of values I ran into an issue where the query wasn’t working. I’ll try this and report back . Thanks again
Forum: Plugins
In reply to: [Custom Content Type Manager] Query all posts with custom_fieldHere is the link in the documentation to solve this problem.
You can also use ‘permalink’ next to post_titlegood documentation btw!
Forum: Plugins
In reply to: [Custom Content Type Manager] Query all posts with custom_field<?php echo '<a href="'. get_custom_field_links('color', 'red') .'">' . print_custom_field('color') . '</a>'; ?>