Title: Rules for
Last modified: August 1, 2017

---

# Rules for

 *  [Josivandro Avelar](https://wordpress.org/support/users/josivandroavelar/)
 * (@josivandroavelar)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/rules-for/)
 * I installed the plugin on eight websites that I developed in WordPress. In all
   of them, the “No rules defined for <div> in the context of Paragraph” tag appears,
   but depending on the rules and certainly it depends on each theme I am aware 
   of, the articles are published without problems. But exactly in one of them, 
   the articles are showing up empty.
 * The rule applies to this tag: `<div id = "dslc-theme-content-inner"> </ div>`
 * The letters “dslc” of the code relate to the Live Composer plugin that is installed
   on this site that is the center of my doubts. And it is in him that the articles
   appear empty.
 * For this and all cases, how can I apply specific rules for each id of the <div
   > tag so that the articles do not appear empty or with warnings?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [huthayfa](https://wordpress.org/support/users/huthayfa/)
 * (@huthayfa)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/rules-for/#post-9378926)
 * Hi [@josivandroavelar](https://wordpress.org/support/users/josivandroavelar/)
 * You can add a new **IgnoreRule**, **PassThroughRule** or any other rule depending
   on your requirements, and then specify the div in the selector, here is a selector
   for your mentioned div:
 *     ```
       {
          "class": "PassThroughRule",
          "selector": "//div[@id='dslc-theme-content-inner']"
       }
       ```
   
 * the selector here written in XPath : [Xpath reference](https://www.w3.org/TR/xpath/)
 *  Thread Starter [Josivandro Avelar](https://wordpress.org/support/users/josivandroavelar/)
 * (@josivandroavelar)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/rules-for/#post-9379333)
 * I followed the tip and everything went right here.
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Rules for’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/fb-instant-articles_8fa0a4.svg)
 * [Instant Articles for WP](https://wordpress.org/plugins/fb-instant-articles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/fb-instant-articles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/fb-instant-articles/)
 * [Active Topics](https://wordpress.org/support/plugin/fb-instant-articles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/fb-instant-articles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/fb-instant-articles/reviews/)

## Tags

 * [div](https://wordpress.org/support/topic-tag/div/)
 * [empty articles](https://wordpress.org/support/topic-tag/empty-articles/)

 * 2 replies
 * 2 participants
 * Last reply from: [Josivandro Avelar](https://wordpress.org/support/users/josivandroavelar/)
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/rules-for/#post-9379333)
 * Status: not resolved