Repost Button being hidden on article page
-
I installed the plugin, entered my Repost API key and got the green light that my site and Repost’s API were successfully talking.
When I went to view an article the button would show up for a second and then disappear. After some digging I found the following IF statement in repost_main.js wasn’t being met:
if (data.pageStatus != ‘NOLICENSE’ && data.available != false && (data.status == ‘LIVE’ || data.status == ‘BETA’ || (data.status == ‘TESTING’ && debugMode))) {
My data object contained the following:
active “1”
alias_active “1”
apikey “…”
body_selector “##Automatic”
button_type “2”
curateUs “https://secure.curate.us”
id “16258”
ingestor false
limit_mode 2
noattrib true
nopopup true
onPageOK true
pageHash null
preview “https://www.repost.us”
repostUs “https://secure.repost.us”
shortname “Broadway Osteopathy”
status “NOBUTTON”
title_selector “##Automatic”Please let me know what I should do to fix the problem
- The topic ‘Repost Button being hidden on article page’ is closed to new replies.