Help with New Section to display Twitter Badge

2 posts in this topic

I have adapted the existing Twitter widget so that it can display the newer Twitter badges available here:


I am having a problem with the code. Any help would be appreciated.


Here is the contents of the section.php file:


The twitter username and widget ID can be set from the meta panel. Currently the Twitter badge is not displaying for me even though as far as I can tell it should be working. I can't figure out what is wrong. I am very new to Pagelines & PHP so it could be something simple! If we can make it work I plan to offer it up for free at the Pagelines store. :)

1 person likes this

Share this post

Link to post
Share on other sites

Hi Olly


Unfortunately the moderating team aren't devleopers so we wouldn't be able to advise on the code you've included for the custom section. However, developers do check out the forum so we'll leave this thread open in case one might be able to advise you further on what's happening in the code.


In the meantime, if you're interested in developer for the store you should think about joining the devleoper group at - this is a peer to peer group where you can learn to developer pagelines products and join the Pagelines store developer team.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Similar Content

    • DMS Pro Tools Hide Section
      By Danielle Barcena+
      Hi there,
      I can't seem to find the hide section on mobile button etc. on my sections in DMS. I am a pro/club member and I have the DMS Pro Tools installed, but after searching long and hard in DMS and on the forum, I do not know where this is. Could someone provide a screenshot for me? maybe I dont have something installed properly. Thanks.
    • Heroes Section
      By hibbsy78+
      I just spotted the standalone Heroes section as opposed to the Elements>Hero section and I much prefer this layout with the larger text directly under the heading but again on mobile (iPhone) it screws the layout similar to the contact form 7 page (

    • urls.api.twtitter
      By hibbsy78+
      I'm getting an issue on page load with the status 'Waiting for' on which is causing a problem when trying to edit the site. 
      Anyone else getting this?

    • Sections will not update
      By fancoder+
      I have been trying unsuccessfully to change the content on a section I created several months ago by adding different content. When I publish and refresh the page nothing changes. Any ideas on how to rectify this would be appreaciated. the Site in question is thanks
    • 911 - deleted a section, site to launch today!
      By abuzzelli+
      I accidentally deleted the whole middle content portion of a site I need to launch today. Wasn't able to undo. Wondering if I can restore one of the database files from my backup buddy files. Not sure which one! Help please!