WPWanderer
Forum Replies Created
-
Forum: Plugins
In reply to: [Custom Permalinks] How safe is this plugin?I have seen other posts like this: https://wordpress.org/support/topic/error-404-on-pages-but-working-fine-on-posts/ that discuss 404s.
I’m more worried about pages and posts that I have NOT customized using your plugin will come up 404s which of course wouldn’t be good.
Thanks
Forum: Plugins
In reply to: [EWWW Image Optimizer] Thumbnail optimization question…Thanks for your thorough answer. I continued to research my confusion on Stack. I have learned that I am overly fixated on 72 ppi or dpi or what have you. LOL. However, I don’t think I am alone in my confusion. Thanks, again.
Just wanted to confirm Yoast is causing this for me as well.Can’t crop images. Just NAN and NAN. What a weird one.
Forum: Plugins
In reply to: [Analyticator] Unable to "enable" plugin on settings pageI’m having this same issue. Did it start working for you?
Forum: Plugins
In reply to: [Events Made Easy] Excerpt wrapped in p tag….Thanks. If it doesn’t make it into a future feature I posted below what I ended up doing to place a conditional on a specific page to truncate. Just in case others want to do something similar. It seems to be working well.
function notes_truncate($content) {
if ( is_front_page() ) {
return substr($content, 0, 55);
}
else {
return $content;
}
}
add_filter(’eme_notes’, ‘notes_truncate’);Forum: Plugins
In reply to: [Events Made Easy] Excerpt wrapped in p tag….Also, with this I was able to limit the excerpt automatically without having to do the read more tag with the following. Please let me know if you think this might create any other issues.
function notes_truncate($content)
{
return substr($content, 0, 55);
}
add_filter(’eme_notes’, ‘notes_truncate’);Forum: Plugins
In reply to: [Events Made Easy] Excerpt wrapped in p tag….Awesome, that worked! Thanks.
Forum: Plugins
In reply to: [Events Made Easy] Character limit on _excerpt…Thanks. Sorry, yeah a word count value would work and probably better.
I also noticed that “the_excerpt” wraps it in p tags, where “get_the_excerpt” does not.
Because I would like to append my excerpts with a “…” without the p tag breaking it I think something on the lines of “get_the excerpt” would be useful.
Forum: Plugins
In reply to: [Events Made Easy] Character limit on _excerpt…Hi, thanks for your response.
I actually mentioned the read more tag in my response. I was actually wondering if there was a way to automatically do it through your functions. I have made a format template. I may want to have different lengths of excerpts on different pages (in columns). I ask this because I have seen some devs do this by passing a character length value and I was wondering if I had missed it in your docs.
Also, putting a “…” Behind the _excerpt has one problem as the excerpt is always wrapped in a p tag, so the dots always appear on a different line.
Thanks again.
Forum: Plugins
In reply to: [Events Made Easy] Character limit on _excerpt…On top of this I am wondering if there would be a way to add the standard “…” or something other that is used when using wordpress excerpts.
Thanks
Forum: Themes and Templates
In reply to: Child theme general question…Thanks. I have read on a couple blogs that it may slow down the site, but they really don’t say why beyond there may be some extra calls. However, not sure how much more there would be vs. if you had just coded into the parent.
Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventI think I finally got it. I am posting it here just in case it will help anyone who want to do something similar. This would be to append the event id of the occurrence as a query string on a single post.
function append_query_string( $url, $post ) { $eventOccurrence = $post->occurrence_id; if ( 'event' == get_post_type( $post ) ) { return add_query_arg( 'occurrence' ,$eventOccurrence, $url ); } return $url; } add_filter( 'post_type_link', 'append_query_string', 10, 2 );Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventDo you have a link on that snippet you mention. I’ve been working on this for awhile now, lol. So, maybe this snippet will shed some light on this. I’ve been trying to access the occurrence_id in every which way (your links and Googling), but it has been a no go.
Forum: Plugins
In reply to: [Event Organiser] List other events on the same day….Thanks, Stephen. That’s what I thought from our past conversation. Just making sure. I was tinkering with it back then and was getting a bit frustrated, but will go back at it. Injecting variables into address paths is pretty new to me.
Forum: Plugins
In reply to: [Event Organiser] echo single date of recurring eventQuestion. Is the variable I need to make accessible through get_query_var the occurrence_id or event_id . I’m popping blanks so I just want to make sure I am on the right track.