huthayfa
Forum Replies Created
-
Hi @abmix008
Instant articles provides javascript data for this purpose, use the below to dynamically get the article URL in your analytics code:
ia_document.shareURL
Source Instant articles analytics
Forum: Plugins
In reply to: [Instant Articles for WP] Blog appears blank after activating the plugin‘DOMDocument’ class is a core PHP class and the error as you may noticed is that the plugin unable to find it.
1- make sure your WordPress is up to date & PHP v5 or later.
2- Make sure the plugin is up to date.
3- If you have made any changes to Transformer.php in the plugin vendor files; check function
transformString
& make sure that DomDocument has a backslash exactly before it:
$document = new \DOMDocument('1.0'); //line 189
- This reply was modified 7 years, 6 months ago by huthayfa.
@abhimanyuchoithramani the plugin & your post both are properly encoded as utf-8, I don’t see any issues there.
If you have any other plugin alters the RSS feeds then try to disable it & test.Forum: Plugins
In reply to: [Instant Articles for WP] Hyperlinks are not showing in Instant Articles@lifeinsaudiarabia as discussed, for anyone who might have same issue, it can be solved from SEO Smart Links Plugin settings:
1- Enable “Process RSS feeds”
2- Disable “Process only single posts and pages”Note: This will make the URLs appear in the newly added articles, if you need to show the URLs for an old article you must Edit->Update it.
I need to see one of your development instant articles on Facebook, could you share one ?
Forum: Plugins
In reply to: [Instant Articles for WP] Hyperlinks are not showing in Instant ArticlesCan you share a screenshot for the resulted instant article from your mobile? also all of the custom transformation rules you are using?
Forum: Plugins
In reply to: [Instant Articles for WP] Hyperlinks are not showing in Instant Articlesthe URLs on your website should transform normally, try adding the below rule under:
Publishing Settings-> Custom transformer rules->Enable custom transformer rules{ "rules":[ { "class": "ParagraphRule", "selector": "p > span" } ]}
Forum: Plugins
In reply to: [Instant Articles for WP] 2 scripts codes ?Hi @nlinili
I’m not 100% sure if this is a limitation from Facebook or not, have you tried the below?
To track data for two separate properties, you need to create two separate trackers, and at least one of them must be a named tracker(default name). The following two commands create a default tracker and a tracker named “clientTracker”:
ga('create', 'UA-XXXXX-Y', 'auto'); ga('create', 'UA-XXXXX-Z', 'auto', 'clientTracker');
source: Working with multiple trackers
Can you get a screenshot for the error ?
btw having same font style in both instant articles & your website is not required, this should not be an issue
can you share your article url (web version)?
Forum: Plugins
In reply to: [Instant Articles for WP] Basic Install Help…Hi @joshtsd2017
is your Production RSS Feed config on Facebook set ?
https://theresandiego.com/feed/instant-articles
Forum: Plugins
In reply to: [Instant Articles for WP] Instant Articles plugin doesn’t recognize title@christenacarter please add the below rule to your plugin config, that should solve the issue
from Instant Articles->Publishing Settings->Enable custom transformer rules, then paste:
{ "rules": [ { "class": "HeaderTitleRule", "selector" : "h1.entry-title" } ] }
Forum: Plugins
In reply to: [Instant Articles for WP] Placing Ads in Recirculation Units@eivindert What is the error you got ? Please shre the error log
Forum: Plugins
In reply to: [Instant Articles for WP] Instant Articles plugin doesn’t recognize titleCould you provide a link for one of your articles (web version) ?
Forum: Plugins
In reply to: [Instant Articles for WP] Major BUG: Images in li tags are strippedHi @vahan4033,
You can add a rule to fix this, the below might help
{ "class": "PassThroughRule", "selector": "li" }