psperkins
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How can I get a taxonomy by custom post type fieldsI see you are building filters for use with isotope here. I have been down this road.
Are you trying to filter the taxonomy terms themselves or filter the posts by taxonomy term + custom field?
Forum: Fixing WordPress
In reply to: User photo broken, someone help!Is the uploaded image accessible/visible in the media library?
This sounds like a server permissions problem.Forum: Fixing WordPress
In reply to: 301 Redirects question…Someone else may be more right than me regarding this but what I would say is no 301 necessary as long as you are sure that the old domain is parked and forwarded to the new domain.
Then when the parked domain is called, it resolves to the new domain.
Of course you will have to change the siteurl and home_url entries for the website – this may prove useful regarding that:
https://codex.www.ads-software.com/Changing_The_Site_URLForum: Fixing WordPress
In reply to: How do I change the URL of a navigation item?Go to Appearance->Menus and find the appropriate menu item and change the link there by expanding it.
Forum: Fixing WordPress
In reply to: just need to center align a divYou have to set a fixed width for the gallery container that is equal to the combined width of how many thumbnails you want to display across.
Using easy math:thumbnails are 100 x 100
margin is 10px on each making them 120px wide each
show six thumbnails across = width:720pxnote these are not your dimensions but using firebug I was able to get yours looking pretty good using a width of 720px – it showed 5 across at that width.
Here is the CSS I used:
.ngg-galleryoverview { overflow: hidden; width: 720px; clear: both; display: block !important; margin: 0 auto; }
This CSS can be found in this file:
https://www.stayinwonderland.com/wp-content/plugins/nextgen-gallery/products/photocrati_nextgen/modules/nextgen_basic_gallery/static/thumbnails/nextgen_basic_thumbnails.css?ver=3.8.4Since your theme CSS is above wp_head() it loads the nextgen css afterward so you should put it there instead of in your theme’s CSS where it will be overridden by nextgen styles. Or ideally, move your stylesheet so it is enqueued after nextgen’s so yours can override the plugin styles.
Forum: Plugins
In reply to: [Custom Content Shortcode] Using Conditional StatementsThis works like a charm. Thank you!
Forum: Plugins
In reply to: [Custom Content Shortcode] Using Conditional StatementsYeah I was basically looking for a condition such is ‘in_category’ to show a call to action if the post in the loop has a specific category.
I can do this easily in PHP but was just wondering if this could also be accomplished in a shortcode – I have found your plugin is especially useful in Genesis themes – I don’t use them all that often but when I do this plugin has become a go-to solution that is much simpler than creating multiple templates or loop functions.
I hadn’t given any thought to nested ‘if’ statements in shortcodes so that’s useful new information for me.
Thanks for your answer, I appreciate it.
Forum: Plugins
In reply to: [Enhanced Media Library] Great Plugin but breaks the new Add Media in 3.9Yep breaks in-post media uploader in 3.9
No – the events are the only thing affected by all of this.
Everything else continues to function normally after adding ‘www’ – only the events disappear.Forum: Plugins
In reply to: [Secure Custom Fields] Custom Field show something other than post_titleaaaannnnddd..answered my own question. Well, sort of.
I am able to get the value inserted if I use the “relationship” field type like so:
function my_relationship_result( $result, $object, $field, $post ) { // load a custom field from thie $object and show it in the $result $edate = get_post_meta($object->ID, '_event_start_date', true); // add post type to each result $result .= '[' . $edate . ']'; return $result; } add_filter('acf/fields/relationship/result/key=field_52d70c2b4887f', 'my_relationship_result', 10, 4);
My question is now “is there any way to do this same thing with the ‘page_link’ field type? All I need is the url it seems wasteful to load the entire post object for just a link.
Thanks again.
Thanks for the quick solution. My problem is also resolved.
Forum: Themes and Templates
In reply to: [Customizr] where are the dev tools?So is there any kind of guide to theme hooks then?
Forum: Plugins
In reply to: [Form to Post] Custom Post TypeYeah that was what I ended up doing as well. Was hoping for something more…#AHEM…elegant I guess.
Thanks for your input though!
Forum: Plugins
In reply to: [WP-PageNavi] Navigation links show same posts no matter which pageTry adding the “paged” parameter to your initial query like so:
<?php query_posts('category_name='.get_the_title().'&post_status=publish,future&paged='.get_query_var('paged'));?>
Brilliant, thanks!