By using’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor

    Join us!
elementor official

Help for PHP



New Member
Hi guys,

I'm working on a review website with Elementor and a tons of addons but currently I'm stuck on a stupid thing. I'd like to show the review score in the post block but I couldn't figured out how to do it. My review score had an id class "notation" and I've found this code to use in php :


$doc = new DomDocument;

// We need to validate our document before refering to the id
$doc->validateOnParse = true;



How do I set the line "file_get_contents" to automatically find the related source post page ? It always shows NULL and that's a little bit frustrating. I know that it is a bit complex but I really need this to work... :(

Thank you for the future support you'll provide me.

Latest posts

Latest Resources

Other Elementor Resources

elementor official