MacGreenbear
Forum Replies Created
-
Thanks Fida,
Unfortunately, none of that has resolved the issue. I’ve also opened the URL in a private window and the error persists.
Any further advice?
Thanks Nithin…that did the trick!
Thanks Zafer,
Here is the link to the pastebin file…
- This reply was modified 3 years, 11 months ago by MacGreenbear.
Thanks Joe…understood and sent.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Event StatusPerfect! Thanks Joe!
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Event StatusThanks for that…but I’m actually trying to do the opposite. I want to display a message when there are published events.
Any suggestions there?
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Event StatusI am using the shortcode…
[my_calendar_upcoming before=”0″ after=”5″ show_today=”yes” type=”event” order=”asc”]What I am trying to do is a conditional so that if there are no published events, the shortcode (along with some other information) doesn’t show and instead a different message appears.
I’ve attempted this with
if (wp_count_posts('mc-events')->publish > 0 )But even Draft events will return true.
Forum: Plugins
In reply to: [My Calendar - Accessible Event Manager] Event StatusHi Joe,
I am trying to do more of a ‘show if there are Events’. So I have the event calendar shortcode ready to be displayed…but I only want to display that if there are ‘published’ events (not ones set to Draft).
Can you think of a way to do that? Am I overlooking something?
Thanks in advance…
Just a quick follow up…is there any way I can add a shortcode tag of my own.
I want to have a notification go to the original ‘post submitter’ not the assigned author…I can fetch the post meta but any ideas on converting it so I can send to ‘post submitter’ (they aren’t a user in the system at all)?
Disregard my last message…I have found the problem.
I’m also using a plugin called User Submitted Posts…and it has a setting that uses a registered user to act as the author…so this is why we are getting notifications to the admin.
Thanks for your help!
So the notification is – New Comment
Send to Author is checked
but the notification treats the Administrator as the Post Author? So for example, I have
Hello [post_author] but instead of the author (Jane Doe) it puts in the Administrator name (Bob Loblaw) and all of his details.That is the puzzling part…is there maybe a setting or something I am missing?
I’ve just started using BNFW for a specific client…it fit perfectly with their needs.
They want their clients who author a post (it is a custom post type…does that matter?) to receive notifications when someone comments on their post…
Not sure why it isn’t working the way it should?
Forum: Plugins
In reply to: [WooCommerce] woocommerce_form_field pass array to select optionsI’m in the same boat here. I’ve tried the array_push and it won’t take it. I’ve tried to set the option as a variable ie.
$hosp = "'options' =>array(" $hosp .= "'" . $hosp_date . "' => __( '" . $hosp_date ."' ),"; $hosp .= "),";and it just produces an error.
I can’t seem to find anything on how to push variables into the options…
Yes, as I said, I used the span setting so that it can show X number of events for the combined calendar…my question is how can I show just one event on another page using a shortcode?
Thanks Nick.
I can get it to span (which is what I want for the Combined calendar) but on it’s own, I just want to show 1 event (the next one)…without showing the entire span worth on that page.
Hope that makes sense?