Title: Website Topic
Last modified: August 21, 2016

---

# Website Topic

 *  Resolved [thefruitfly](https://wordpress.org/support/users/thefruitfly/)
 * (@thefruitfly)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/website-topic/)
 * Can anybody tell me the filename where the plugin is pulling the Website Topic
   list from?
 * The list is rather limited, and one would think there’d be an option to add a
   topic to the list.
 * I’ve sifted through most of the PHP code and I can’t find where they’re grabbing
   that list from.
 * My thanks
 * [http://wordpress.org/extend/plugins/nextgen-facebook/](http://wordpress.org/extend/plugins/nextgen-facebook/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/website-topic/#post-3906431)
 * It’s in lib/util.php.
 * The list is rather limited on purpose, to try and use topic names that search
   engines and catalogs would use. There’s no standard (yet), so the closest I got
   was the wikipedia list from [http://en.wikipedia.org/wiki/Category:Websites_by_topic](http://en.wikipedia.org/wiki/Category:Websites_by_topic).
 * Instead of editing the code and avoiding future updates, I’d much rather offer
   you way to modify the built-in list. Here are two options if you have the Pro
   version:
 * – Use the `ngfb_og` filter to change the topic in the Open Graph meta tags. Add
   the following to your (child) theme’s functions.php file:
 *     ```
       add_filter( 'ngfb_og', 'my_filter_ngfb_og', 10, 1 );
       function my_filter_ngfb_og( $og = array() ) {
           if ( ! empty( $og['og:type'] ) && $og['og:type'] == 'article' )
               $og['article:section'] = 'YourTopicName';
           return $og;
       }
       ```
   
 * – The other will be available in the upcoming version. Add your custom topic 
   to the existing topics array. Same thing, add the following to your (child) theme’s
   functions.php file:
 *     ```
       add_filter( 'ngfb_topics', 'my_filter_ngfb_topics', 10, 1 );
       function my_filter_ngfb_topics( $topics = array() ) {
           $topics[] = 'YourTopicName';
           return $topics;
       }
       ```
   
 * js.
 *  Thread Starter [thefruitfly](https://wordpress.org/support/users/thefruitfly/)
 * (@thefruitfly)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/website-topic/#post-3906440)
 * Thank you!
 * The website in question is all about a small plumbing company. I find it absolutely
   bizarre that according to the Wiki list; the Super-level categories include items
   such as Fashion, Genealogy and Nostalgia, but positively nothing about things
   like “Home”, “Entrepreneur” or even something as simple as “Services”.
 * Hacking the plugin, as I read your response, wouldn’t be productive because the
   subject isn’t included in the super-list. Way too weird!
 * Thanks again – Be well!
 *  Plugin Author [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * (@jsmoriss)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/website-topic/#post-3906464)
 * Well, there’s nothing preventing you/us from customizing the list. I chose Wikipedia
   as the source, only because there wasn’t another readily available — and there’s
   no standard for the ‘article:section` meta tag (unfortunately).
 * You could use the ‘Commerce’ topic, or use the techniques outlined above to add
   your own.
 * js.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Website Topic’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/nextgen-facebook_f2c17e.svg)
 * [NextGEN Facebook](https://wordpress.org/plugins/nextgen-facebook/)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-facebook/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-facebook/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-facebook/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-facebook/reviews/)

## Tags

 * [file name](https://wordpress.org/support/topic-tag/file-name/)

 * 3 replies
 * 2 participants
 * Last reply from: [JS Morisset](https://wordpress.org/support/users/jsmoriss/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/website-topic/#post-3906464)
 * Status: resolved