Title: Body Class By URL Parameter
Author: Jose Mortellaro
Published: <strong>30 באוקטובר 2021</strong>
Last modified: 10 בדצמבר 2025

---

חיפוש תוספים

![](https://ps.w.org/body-class-by-url-parameter/assets/banner-772x250-rtl.jpg?rev
=2622258)

![](https://ps.w.org/body-class-by-url-parameter/assets/icon-256x256-rtl.jpg?rev
=2622258)

# Body Class By URL Parameter

 מאת [Jose Mortellaro](https://profiles.wordpress.org/giuse/)

[הורדה](https://downloads.wordpress.org/plugin/body-class-by-url-parameter.0.0.2.zip)

 * [פרטים](https://he.wordpress.org/plugins/body-class-by-url-parameter/#description)
 * [סקירות](https://he.wordpress.org/plugins/body-class-by-url-parameter/#reviews)
 * [פיתוח](https://he.wordpress.org/plugins/body-class-by-url-parameter/#developers)

 [תמיכה](https://wordpress.org/support/plugin/body-class-by-url-parameter/)

## תיאור

It adds CSS classes to the body depending on the parameters included in the URL.

For each URL query argument, the plugin adds a CSS class to the body that is composed
by [bc]-[paramenter name]-[parameter value].

Where [bc] is the a prefix that is always the same.

If for example you share your page https://your-domain.com/sample-page on Facebook,
the user after clicking on the link will land on a page having an URL that looks
like https://your-domain.com/sample-page/?fbclid=IwAR0o12nq9Em-x1n

In this case the plugin would add the class bc-fbclid-IwAR0o12nq9Em-x1n to the body.

Then you can use that class for your custom CSS.

    ```
    .bc-fbclid-IwAR0o12nq9Em-x1n .disable-for-facebook{
      display:none !important
    }
    ```

In the example above you hide all the elements that have the class .disable-for-
facebook if the users come from the link shared on Facebook.

This is just an example. You can use it to create different styles depending on 
whatever query arguments are included in the URL.

The use of this plugin requires that you have at least basic CSS skills and you 
know where to put your custom CSS. All other users will not be able to take advantage
of this plugin.

#### 0.0.2

 * Checked WordPress 6.4

#### 0.0.1

*Initial release

## סקירות

![](https://secure.gravatar.com/avatar/a5a46678813e9a0392052373445c359ae4c3ca48e807a65db3e6aaaf0693708d?
s=60&d=retro&r=g)

### 󠀁[Really helpful](https://wordpress.org/support/topic/really-helpful-198/)󠁿

 [delemo](https://profiles.wordpress.org/delemo/) 12 בספטמבר 2023

I used it to customize the reset password request page (?action=forgot_password).
Very useful.Thanks to the plugin author.

 [ קראו את כל הסקירות ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/)

## מפתחים

"Body Class By URL Parameter" הוא תוסף קוד פתוח. האנשים הבאים תרמו ליצירת התוסף 
הזה.

תורמים

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

[ניתן לתרגם את "Body Class By URL Parameter" לשפה שלך.](https://translate.wordpress.org/projects/wp-plugins/body-class-by-url-parameter)

### מעוניינים בפיתוח?

[עיינו בקוד](https://plugins.trac.wordpress.org/browser/body-class-by-url-parameter/),
ראו את הקוד ב-[SVN repository](https://plugins.svn.wordpress.org/body-class-by-url-parameter/),
או הירשמו ל[לוג פיתוח](https://plugins.trac.wordpress.org/log/body-class-by-url-parameter/)
באמצעות [RSS](https://plugins.trac.wordpress.org/log/body-class-by-url-parameter/?limit=100&mode=stop_on_copy&format=rss).

## מטא

 *  גרסה: **0.0.2**
 *  Last updated **לפני 4 חודשים**
 *  Active installations **60+**
 *  WordPress version ** 4.6 ומעלה **
 *  Tested up to **6.9.4**
 *  PHP version ** 5.6 ומעלה **
 *  שפה
 * [English (US)](https://wordpress.org/plugins/body-class-by-url-parameter/)
 * Tag
 * [body class](https://he.wordpress.org/plugins/tags/body-class/)
 *  [תצוגה מתקדמת](https://he.wordpress.org/plugins/body-class-by-url-parameter/advanced/)

## דרוגים

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/#new-post)

[הצג הכל](https://wordpress.org/support/plugin/body-class-by-url-parameter/reviews/)

## תורמים

 *   [ Jose Mortellaro ](https://profiles.wordpress.org/giuse/)

## תמיכה

יש לך משהו לומר? זקוק לעזרה?

 [פורום תמיכה](https://wordpress.org/support/plugin/body-class-by-url-parameter/)