Marsha Docs

Social Media Shortcode

The only links to social media accounts should be from the Social Media settings page that is part of the Marsha theme.

Any other links, images, etc will be removed by the web team.

Using the Marsha Social Media Links

In your site's WordPress Dashboard, in the main navigation on the left you should see "Social Media" that will take you to the settings page. Enter the full URL for your social media accounts for all the applicable options and Update.

On the Widgets page, you can add the "Marsha Social Media Links" widget. You can add a title to the widget and once on your sidebar will automatically include icons and links to the social media accounts you added to the settings page.

Embed Twitter Feed Shortcode Parameters

The parameters for the embed twitter feed shortcode:

  • RequiredUsername (username): Enter the Twitter username of the account you'd like to embed. For example, for the main Marshall Twitter account we'd enter 'marshallu'.

Embed Twitter Feed Shortcode Examples

Shortcode
HTML
[mu_embed_tweets username="marshallu"]
<a class="twitter-timeline" data-width="500" data-height="500" href="https://twitter.com/marshallu?ref_src=twsrc%5Etfw">Tweets by marshallu</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script> 
Copy Code to Clipboard
Copy Code to Clipboard