# Setting the Display Rules

The Display Rules panel allows you to control where content sharing is enabled. This primarily controls text selection sharing.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FsNvFMcBJOMi71JLfv7Qa%2Fdlx-has-display-rules-panel.webp?alt=media&#x26;token=fbbe7c40-0775-4a0b-92ce-d7b6709f151e" alt=""><figcaption><p>Display Rules Panel in the Content Sharing Tab</p></figcaption></figure>

### Configuring Content Sharing Per Post Type

By default, content sharing is enabled for all post types in Highlight and Share. You can exclude post types via the "Excluded Post Types" setting.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FmWkXrmCiPY5JuVYZdE7T%2Fdlx-has-excluded-post-types.webp?alt=media&#x26;token=009d3ef4-6cf7-4ce6-a5ef-70f595b0c807" alt=""><figcaption><p>Excluded Post Types Option for Content Sharing</p></figcaption></figure>

You can still selectively enable or disable text sharing via sidebar settings when editing a post.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2F9PagzEdfkBhshB7eVOVH%2Fdlx-has-sidebar-settings.webp?alt=media&#x26;token=2919cbfd-8f3f-44ec-a589-825c3895a32e" alt=""><figcaption><p>Sidebar Settings to Disable or Enable Social Sharing via a Highlight or Text Selection</p></figcaption></figure>

### Enable on Content Areas (Content, Excerpt, and Comments)

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FUHLwaPbabdUAxJIQxJ9g%2Fdlx-has-content-areas.webp?alt=media&#x26;token=db134447-22c8-40e4-86c0-1e9797b8dba0" alt=""><figcaption><p>Enable Highlight Sharing on Post Content, the Post Excerpt, and the Comments Section</p></figcaption></figure>

A useful setting is the ability to disable text selection on the main content area. Use this if you have content enabled in post types but would like to skip the content area when sharing.

You can also allow text and social sharing on excerpts, and enable it for the comments section.

If you have a page builder, these settings may have no effect. In that case, you'll need [advanced selectors](https://docs.dlxplugins.com/highlight-and-share/content-sharing/advanced-selectors).

### Enable or Disable for Mobile Devices

Most mobile devices already have content sharing when highlighting text, but you can enable Highlight and Share's additional networks on mobile devices by default. If you wish to disable Highlight and Share on mobile devices, uncheck this option.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2Fi8Ev0iQsmHpaGGb2b7RM%2Fdlx-%20238.webp?alt=media&#x26;token=b500f048-feba-4f80-a57d-14c009a7513b" alt=""><figcaption><p>Enable Text Selection on Mobile Devices</p></figcaption></figure>

### Setting a Sharing Prefix and Suffix

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FTOP3wsZ6nmIDVvopyZca%2Fdlx-has-text-settings.webp?alt=media&#x26;token=d7f7fe4d-9a72-4fae-b291-87671bdadca7" alt=""><figcaption><p>Setting a Sharing Prefix and Suffix</p></figcaption></figure>

For social networks with text sharing enabled, you can wrap the text in a prefix and suffix, for example, a quotation mark, a parenthesis, or other punctuation.

Here's an example post with the prefix and suffix shown:

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FnSfgDrJ2mB3KCkw0JBFK%2Fdlx-has-twitter-prefix-suffix.webp?alt=media&#x26;token=58845717-36ad-421e-a6ad-94334480d280" alt=""><figcaption><p>Suffix and Prefix Shown for Text Sharing</p></figcaption></figure>

### Enabling Shortlinks

You can find the Shortlinks setting in the Display Rules panel under Content Sharing.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FvjKDD3Ar8IiylUaneD7t%2Fdlx-has-enable-shortlinks.webp?alt=media&#x26;token=959f7a5b-c267-4d62-8db5-482236f3c09a" alt=""><figcaption><p>Shortlinks Option for Content Sharing</p></figcaption></figure>

Shortlinks let you share a shorter version of a URL. You will need a shortlink service installed, [such as Jetpack](https://jetpack.com/support/wp-me-shortlinks/), for this to work.

<figure><img src="https://219399540-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FII25Fu7h0q7vR3UqUhpk%2Fuploads%2FwnOkzvJymtohl2wpW9PB%2Fdlx-has-with-shortlinks.webp?alt=media&#x26;token=650309e4-ee92-4079-8c99-11802da175eb" alt=""><figcaption><p>Shortlink Visible When Sharing Text</p></figcaption></figure>

The shortlink will display for any social network that allows URL sharing, which is most of them. Here are some compatible WordPress services for shortlinks.

{% embed url="<https://jetpack.com/support/wp-me-shortlinks/>" %}
Jetpack Offers Native Shortlinks
{% endembed %}

{% embed url="<https://wordpress.org/plugins/wp-bitly/>" %}
Bitly Allows for Shortlinks and Tracking
{% endembed %}
