Title: Missing Like Button and Missing Subtitle
Last modified: August 31, 2016

---

# Missing Like Button and Missing Subtitle

 *  Resolved [autonomyscotland](https://wordpress.org/support/users/autonomyscotland/)
 * (@autonomyscotland)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/)
 * So, I have had my 50 articles rejected as no subtitle showing and no like buttons
   in the heading section.
 * Has anyone else had this problem and worked out how to fix it? Facebook suggest
   the following for the like button.
 * **Like Button not showing – To ensure the like button is visible please follow
   these steps:**
 * 1. Go to the Instant articles tab within your Page Settings.
    2. In the ‘Styles’
   panel. Choose your existing style template or click ‘+ Add Style’ to create a
   new one. 3. Use the ‘ACCENT COLOR’ option to color it different to the background
   so that it is clear and visible
 * However, I set it to blue on a white background and still can’t see it. Authors
   names were showing where like buttons should be.
 * B
 * [https://wordpress.org/plugins/fb-instant-articles/](https://wordpress.org/plugins/fb-instant-articles/)

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

 *  [silfiriel](https://wordpress.org/support/users/silfiriel/)
 * (@silfiriel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301065)
 * Same problem, Like button doesn’t show up and it is required.
 *  [silfiriel](https://wordpress.org/support/users/silfiriel/)
 * (@silfiriel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301066)
 * Actually if you already liked the page or you are an admin or a team member the
   like button doesn’t show up at all, so all you need to do is just change the 
   color of the background to differ of the color of the like button.
 * this is according to their developer documents:
 * “Why don’t you see a Like button for your Facebook Page in the header of your
   Instant Articles?
 * Facebook only displays the Page Like button in the header of an Instant Article
   when the reader has not already liked (i.e. followed) the associated Page. When
   the reader already follows the Page, the Like button does not appear. If you 
   or members of your team are not seeing the Page Like button on your articles,
   it’s probably because you already like your own Page.”
 *  Thread Starter [autonomyscotland](https://wordpress.org/support/users/autonomyscotland/)
 * (@autonomyscotland)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301070)
 * Yes, you are correct. I unliked my page and then republished the article and 
   the like button is there. So, the reviewer could not see it because of the accent
   colour but I could not see it because I already like the page.
 * Thanks for your help.
 * Out of interest.
 * Does a subtitle, or excerpt appear on your articles under the article cover? 
   IT looks better when there is one but not sure if this plugin is coded to do 
   that automatically?
 * At the moment, mine have the cover image, the header bar with logo and author
   name. Then the title under which is a big blank space.
    B
 *  [silfiriel](https://wordpress.org/support/users/silfiriel/)
 * (@silfiriel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301073)
 * No, it doesn’t, I am assuming that is a theme related issue, a theme that has
   excerpts but the plugin “doesn’t know” how to code it for instant articles so
   it’s probably excluded and hence the white space.
 * Probably you can manually alter the instant articles by adding the excerpt after
   the article is published.
 * I am doing this with youtube videos, the plugin doesn’t pick up on the embedded
   videos so I add them in the instant articles manually.
 *  Thread Starter [autonomyscotland](https://wordpress.org/support/users/autonomyscotland/)
 * (@autonomyscotland)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301074)
 * Yes, just did a bit of reading. Looks like it’s pretty simple to add subtitle
   manually in the header section. I’ll close this off now. Once again thanks.
 *  [itagility](https://wordpress.org/support/users/itagility/)
 * (@itagility)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-7301107)
 * [@autonomyscotland](https://wordpress.org/support/users/autonomyscotland/) – 
   Where did you find documentation to add a subtitle? I’ve been searching for a
   solution to this. I looked through the source code and found the filter instant_articles_subtitle;
   however, something else needs to happen in order to call it.
 *  [fabianomoreau](https://wordpress.org/support/users/fabianomoreau/)
 * (@fabianomoreau)
 * [9 years, 8 months ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-8207779)
 * [@itagility](https://wordpress.org/support/users/itagility/)
    I had the same 
   problem. Solved by adding this function to my theme’s functions.php:
 * add_filter(‘instant_articles_transformed_element’, ‘my_subtitle’, 10, 1);
 * //the filter is provided by the fb-instant-articles plugin
    //it passes in the
   instant_article object, which you can modify //before it finishes rendering the
   feed. function my_subtitle($article) { global $post; $my_subtitle = get_the_excerpt();//
   replace this with whatever
 *  //the instant article has a Header element, which has a subtitle property.
    //
   Get it and add a subtitle $subtitle = $article->getHeader()->withSubTitle($my_subtitle);
 *  //return the modified instant article back into the render flow
    return $article;
 *  //verify that your /feed/instant-articles contains <h2>’s in each feed item 
   <content> elements.
    }
    -  This reply was modified 9 years, 8 months ago by [fabianomoreau](https://wordpress.org/support/users/fabianomoreau/).

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

The topic ‘Missing Like Button and Missing Subtitle’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fb-instant-articles_8fa0a4.svg)
 * [Instant Articles for WP](https://wordpress.org/plugins/fb-instant-articles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fb-instant-articles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fb-instant-articles/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-instant-articles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-instant-articles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-instant-articles/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [fabianomoreau](https://wordpress.org/support/users/fabianomoreau/)
 * Last activity: [9 years, 8 months ago](https://wordpress.org/support/topic/missing-like-button-and-missing-subtitle/#post-8207779)
 * Status: resolved