Nick, for the first request, create a file named /includes/modules/pages/article/header_php_add_news_category.php containing:
PHP Code:
<?php
// -----
// Pre-pend the news-category name to the article title.
//
$news_content_type = $news_box_query->fields['news_content_type'];
switch ($news_content_type) {
case '1':
case '2':
case '3':
case '4':
$news_box_name_define = "BOX_NEWS_NAME_TYPE" . $news_content_type;
$news_type_name = (defined($news_box_name_define)) ? constant($news_box_name_define) : "Unknown [$news_content_type]";
break;
default:
$news_type_name = "Unknown [$news_content_type]";
break;
}
$news_title = $news_type_name . ': ' . $news_title;
2. Expanding the number of categories is doable, but there are a bunch of places that use a switch control (similar to the above) to process a specific news type. That said, it's not for the faint of heart.
3. Auto-posting to various social media spots. Not likely in the near future, but I've created a GitHub issue to track (
https://github.com/lat9/news_box_manager_v3/issues/19).
4. Adding structured data. Again, not likely in the near future, but this (
https://github.com/lat9/news_box_manager_v3/issues/18) GitHub issue's there to track any subsequent change.
5. Adding integration with Ceon URI Mapping v5, also not likely in the near future. I'd suggest a request to that plugin to incorporate as I'm not particularly familiar with its operations.
Bookmarks