BBPress Craig : Replies Created

Forum Replies Created

Viewing 10 posts - 1 through 10 (of 15 total)
  • Author
    Posts
  • in reply to: Request: Filter out Categories with 0 occurences #298347
    Craig
    Participant

    Thanks Steve, was wondering about this myself. Would be nice to be able to use the shortcodes on widgets as well – I’m guessing that the vast majority of people would want to filter out ‘uncategorized’ since it’s not something we can delete.

    Please consider adding this as an option to future releases so we can retain this setting if the widgets get updated in the future.

    Thanks!
    Craig

    Craig
    Participant
    This reply has been marked as private.
    Craig
    Participant
    This reply has been marked as private.
    Craig
    Participant

    One additional note. The plugin creates duplicate pages for all multipage queries.

    Any page that has multiple pages will have the following 2 pages created:
    /city/Raleigh/
    /city/Raleigh/pg/1/

    Both are the same page, which can cause headaches with search engines which will see these pages as duplicate content.

    in reply to: Reviews and contact addon #297562
    Craig
    Participant

    Any chance that this is still being worked on?

    in reply to: Error: Missing required field "entry-title" #297005
    Craig
    Participant

    After a little bit of digging I found the fix. Just a slight modification to the code:

    //mod content
    function hatom_mod_post_content ($content) {
      if ( in_the_loop() && !is_page() ) {
        $content = '<span class="entry-content">'.$content.'</span>';
      }
      return $content;
    }
    add_filter( 'the_content', 'hatom_mod_post_content');
    
    //add hatom data
    function add_mod_hatom_data($content) {
        $t = get_the_modified_time('F jS, Y');
        $author = get_the_author();
        $title = get_the_title();
        if ( is_single() || is_page()) {
            $content .= '<div class="hatom-extra" style="display:none;visibility:hidden;"><<span class="entry-title">'.$title.'</span> was last modified: <span class="updated"> '.$t.'</span> by <span class="author vcard"><span class="fn">'.$author.'</span></span></div>';
        }
        return $content;
        }
    add_filter('the_content', 'add_mod_hatom_data');

    In any case, it’s obvious that this problem is not in any way related to Connections-Pro and is instead a widespread WordPress problem – so your assistance in resolving it was above and beyond anything anyone could expect of you, and just one more reason why I can’t recommend this plugin to anyone interested in purchasing it enough.

    in reply to: Error: Missing required field "entry-title" #297004
    Craig
    Participant

    Just ran into a problem with the code. While it does remove the errors, it now puts the words “(page) was last modified: (date) by (author)” on every single page on my site, so this code snippet isn’t going to work.

    I’ll try to read up more on it to see how I can add the info without adding that statement onto every page.

    Thanks again.

    Craig
    Participant

    The site uses Yoast’s WordPress SEO.

    For what it’s worth, I have found that Yoast’s WordPress SEO does not play well with Connections. It doesn’t recognize the entries as separate from the parent page at all and will overwrite the page title of every entry to be the same title as the base directory.

    This is most likely what is causing the pages not to be listed in Google. Unique page titles are the single most important factor for Google to rank a page, so without a unique title the entries will most likely not be included at all.

    All in One SEO Pack appears to be one of the very few SEO plugins that does work with Connections, so it will not overwrite the page titles of your entries which should allow Google to discover them.

    Keep in mind there are many factors that Google uses to decide how deep to crawl a site and which pages to index, so even with this change it’s still possible that Google may choose not to index these pages. As mentioned above, there doesn’t appear to be any sitemap plugin that will include Connections-Pro entries – hopefully Steve will reply to explain why this is and if there is a workaround now or coming in the near future.

    Google can and does crawl pages beyond what’s in your sitemap, but the deeper the link the less chance it has of getting spidered. Another piece of advice I can give is to configure Webmaster Tools for the site and then submit the directory page under the “Fetch as Google” section and request that it also crawl linked pages. If there aren’t too many entries in your directory, you can manually submit each one, but that’s usually a last resort unless your directory is extremely small.

    • This reply was modified 8 years, 2 months ago by Craig.
    in reply to: Error: Missing required field "entry-title" #296995
    Craig
    Participant

    Worked perfectly, thanks!

    I dropped the code into Code Snippets instead of functions.php, which I know you’ve recommended before and is always better than directly modifying functions.php to prevent your changes from being overwritten if you ever update your theme – but I figured I’d mention it here just in case anyone else wants to add this code as well.

    Craig
    Participant

    I’d like to echo this as well. I have been unable to find any plugin that will allow Connections entries to be added to the sitemap – whereas I do have a different directory plugin that does work with XML Sitemap Generator.

    Is there a reason why these plugins can’t find the Connection entries? They seem to be able to find custom posts and custom taxonomies but nothing for connections entries. Is this something that can be worked around or eventually resolved in some way in the future?

    Thanks,
    Craig

Viewing 10 posts - 1 through 10 (of 15 total)