mikemartelle
Forum Replies Created
-
Forum: Plugins
In reply to: [12 Step Meeting List] Page title for meetings pageI sure did, thanks for the follow up. I have not been able to resolve it yet, its not yoast or the widget. Seems to me, the plug in creates that /meetings node dynamically, I don’t actually have a page called “meetings” in my WP dashboard. It just occurred to me I suppose I could create a new page and put a widget of meetings on it, but I believe it only shows five upcoming meetings. The default /meetings page is fantastic with the filters, I’d hate to lose that or recreate it. But we’d like to get rid of that “Archives:” string. I copypasta’d the code previously here, where I suspect it’s being called/generated from, but I’m from the drupal realm and still learning WP at this time. Any help or suggested edits/workarounds would be appreciated. I don’t mind a manual patch I would have to apply (and on plugin updates) at the moment, a quick code patch is quicker than exploring and implementing a new theme. Thank you for the follow up!!
Forum: Plugins
In reply to: [12 Step Meeting List] Page title for meetings pageI think I’ve tracked it down to:
Under > Edit Plugins
Editing 12-step-meeting-list/templates/archive-meetings.php (active)Line 166 -185 – where the page title is generated:
//create page title (todo redo with sprintf)
$tsml_page_title = array();
if ($day !== null) {
$tsml_page_title[] = $today ? __(‘Today\’s’, ’12-step-meeting-list’) : $tsml_days[$day];
}
if ($time) {
$tsml_page_title[] = $time_label;
}if (count($types)) {
$tsml_page_title[] = $type_label;
}$tsml_page_title[] = empty($tsml_programs[$tsml_program][‘abbr’]) ? $tsml_programs[$tsml_program][‘name’] : $tsml_programs[$tsml_program][‘abbr’];
$tsml_page_title[] = __(‘Meetings’, ’12-step-meeting-list’);
if ($region) {
$tsml_page_title[] = __(‘in’, ’12-step-meeting-list’) . ‘ ‘ . $region_label;
}$tsml_page_title = implode(‘ ‘, $tsml_page_title);
It looks like the page titles are rendered from this snippet. Can you make any suggestions for modifying this?
I hope there’s a quick edit to this that I can patch with each upgrade, we don’t want to consider/go through consideration process of the whole theme layer again for a page title.
Thanks for your attention.Forum: Plugins
In reply to: [12 Step Meeting List] Page title for meetings pageYes, I’ve looked to edit it as a page but the node for the path “/meetings” doesnt exist as a regular page in WP. It seems the page is generated on the fly, pulling theme code and database info. I have no idea where that text string is coming from. Is there any way to access the page “meetings” via the plug in? Or to access the plug-in files maybe search for the string “Archives”? it’s gotta exist somewhere..