abacus718
Forum Replies Created
-
Forum: Plugins
In reply to: [CongressLookup] EXCLUDE state reps/senatorsJust in case anyone else needs it before the update, I ended up moving thing code that grabs the STATES for the returned data up just below
foreach ($congress->officials as $c) {and then adding
if($states[0]!='DC'){ // (federal senators & reps have DC as their state $vis = 'hidden'; } else { $vis = 'inline'; }and then adding style=”visibility:$vis” to the h3 and ul tags to hide non-federal officials.
It’s by no means pretty or perfect, but it’ll work in the short term.
Forum: Plugins
In reply to: [CongressLookup] EXCLUDE state reps/senatorsOk great. I thought it was using Google – i just didn’t want to work on that to find out there was also Sunlight (which i was pretty sure was deprecated). Thanks for your quick responses!
Forum: Plugins
In reply to: [CongressLookup] EXCLUDE state reps/senatorsIt looks like CongressLookup.php uses the Google Civic API, but the getData.php uses the Sunlight API (which is what returns all the local etc). I’m using the Google Civic in another app and can limit it Federal — can you clarify which is being used in the plugin for the final data set?
Forum: Plugins
In reply to: [CongressLookup] EXCLUDE state reps/senatorsThanks. i’m trying to hack it in myself — will send you what I come up with. 😉
Forum: Plugins
In reply to: [CongressLookup] EXCLUDE state reps/senatorsHi, I tried that, but it gets me all senators (federal and state) or all reps (federal and state). I want only Federal, no state reps or senators.
Forum: Plugins
In reply to: [Gravity Forms + Stripe] Recent update causing issuesPlugin is no longer working for me. $1000 donation was submitted. Customer got a confirmation/thank you, but there is NO record in stripe logs that stripe was ever contacted. I tried it on my own & got the same result. WP 4.92, Plugin version Version 1.9.2.11. Functionality worked on 1/10/2018 but doesn’t work as of today and there’s no update notification for the plugin. Please help. Thank you!
Hi.. So here are screenshots of the cptonomy setting for notable case: http://tin.abacusdesign.net/tin_cptaxonomy.png
Jacob sussman has three cases assigned to him (if i edit attorneys and look at the noteworthy case taxonomy).
I changed the rewrite rule to this (in case the use of attorney was fouling things up):
add_rewrite_rule( ‘^noteworthy-cases/counsel/([^/]*)/?’, ‘index.php?post_type=noteworthycase&attorney=$matches[1]&cpt_onomy_archive=1’, ‘top’ );Also, i fixed the fact that the custom post type used to be called notable case and made everything consistent with noteworthycase, but still no dice. Going here and clicking on ‘cases by attorney’ and selecting ‘jacob sussman’ takes you to his profile page, not the three cases assigned to him. Any ideas? Thanks!
P.S. Interestingly, using the archive (cases by year) link and then adding on attorney= doesn’t seem to work either: http://tin.abacusdesign.net/2012/?post_type=noteworthycase&attorney=jacob-sussman
it has the same result — of taking you to the attorney detail page.Thanks for the quick response rachel. I added attorneys to the rule (copied what you had) but now it just takes me to the attorney’s page — not to the noteworthy cases page filtered by attorney: