Evan Mullins
Forum Replies Created
-
Which plugin was having the conflict? I’m seeing this issue too!
Forum: Developing with WordPress
In reply to: How to determine the current post with get_posts()Yes, you’ll want to get the id when you’re on that page you are placing nav links to all these solutions (custom post type posts) and then mark the solution you’re currently on. Outside your
get_postsloop you can call$thisid = get_the_ID();and then inside your loop you check that post id and see if it’s equal to the$thisidSomething along these lines:
// get this post id $thisid = get_the_ID(); // get solution cpt's to create the link bar $posts = get_posts( array( 'post_type' => 'solution', 'numberposts' => -1, 'meta_key' => 'posts_order', 'orderby' => 'meta_value', 'order' => 'ASC' ) ); if ($posts) : ?> <!-- links to solutions --> <div class="navigation-bar-wrap container--narrow"> <ul role="navigation" aria-label="navigation-bar" id="navigation-bar" class="navigation-bar"> <?php foreach ($posts as $post) : setup_postdata($post) ?> <li class="navigation-bar-li <?php // check this post vs current post if ( $thisid === get_the_ID() ) { echo 'current'; } ?>"> <a class="btn btn--blue hvr-push navigation-bar-link" href="<?php the_permalink(); ?>"><?php the_title(); ?></a> </li> <?php endforeach; ?> </ul> </div> <?php wp_reset_postdata(); ?> <?php endif; ?>Forum: Plugins
In reply to: [Greenhouse Job Board] Git Repo for this ProjectForum: Fixing WordPress
In reply to: Not creating table wp-blogmetaI’m seeing the same. No wp_blogmeta table exists after initial update running network updates from site root or re-installing updates.
Anyone having luck manually creating the table for now?
Forum: Plugins
In reply to: [Greenhouse Job Board] Bag Labs Greenhouse plugin is open sourceAwesome news! I agree that this will help maintain the plugin to have it open sourced for all in an easy way to contribute on github. It will also make it easier for feature suggestions and pull requests.
Forum: Plugins
In reply to: [Advanced Custom Fields: Button Field] GitHub?I fully support the idea! What do you say @brownbagmarketing?
Forum: Plugins
In reply to: [Advanced Custom Fields: Button Field] Buttons with nofollowThis is now added in 1.7.0, let me know how it does for you.
Forum: Plugins
In reply to: [Advanced Custom Fields: Button Field] Buttons with nofollowGood idea, I’ll work on getting this added soon.
Forum: Plugins
In reply to: [Greenhouse Job Board] Location tag not showingThanks for reaching out regarding your question.
If i understand it correctly, you are wanting to display the location for each job as part of the details for the job or are you looking to filter/sort by location? It sounds like you want to simply display the location. If so, try adding this to your shortcode.
[greenhouse display="description|location" ]The display attribute will accept description, location, office and department. Let me know if this resolves your question.
Forum: Plugins
In reply to: [Greenhouse Job Board] Group by Department IssueThanks & props Colin, we’ll take a look at this and try to work it into our next release. Good case we hadn’t considered.
Forum: Plugins
In reply to: [Greenhouse Job Board] Feature Request: Document plugin JSWe have plans on adding custom template options to the job board, we’ll keep this request in mind when doing so.
There is a global js var
ghjb_jobscontaining all jobs from greenhouse you might find handy if you’re needing to write some custom js.Forum: Plugins
In reply to: [Greenhouse Job Board] Form Fields not ShowingDid you send that email? Haven’t seen it yet. wordpress at brownbagmarketing.com
Same on WP 4.5.2 and ACF (Pro) 5.3.6.1
Forum: Plugins
In reply to: [Admin Toolbar Content Links] Improving the top admin toolbar for coreInteresting, thanks for letting me know.
Forum: Reviews
In reply to: [Stream] Reevaluated and now back to being awesomeYes, I’m interested in checking it out when I have some time.
I’ve been loving simple-history lately though, and don’t have/see a need to switch.