AddFunc Head & Footer Code

AddFunc Head & Footer Code

توسط

Allows administrators to add code to the <head> and/or footer of an individual post (or page or other content) and/or site-wide. Ideal for scripts such as Google Analytics conversion tracking code and any other general or page-specific JavaScript. A very simple, reliable and lightweight plugin.

  1. Upload the entire /addfunc-head-footer-code folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress
  3. Add code site-wide in Settings>Head & Footer Code or on individual Pages/Posts using the Head & Footer Code meta box when in edit mode in a page (or any post type)

سوالات متداول

Can I add Google Analytics or other tracking code snippets to the ⟨head⟩ tag of my website?

Yep! That’s what AddFunc Head & Footer Code is made for.

Can I add code snippets to the ⟨head⟩ tag or footer of a specific Post or Page?

Yep! That’s what this plugin is made for.

Does AddFunc Head & Footer Code work on custom content types, the same as they do on Posts and Pages?

For the site wide code yes, as long as the theme is set up properly with the wp_head() and wp_footer() functions. For individual custom content type “entries” (as we’ll call them) it will work as long as the custom content type (or custom post type more precisely) is set up in the standard way, so that WordPress will recognize that it needs to add all the usual meta boxes to it. Basically, it will work in a standard setup.

Where does the Head Code output?

Wherever wp_head() is located in your theme.

Where does the Body Start Code output?

Immediately after the opening body tag. Note: other plugins can be made to do the same thing and one of them has to insert before the other, so other plugins could theoretically insert code before AddFunc Head & Footer Code’s Body Start Code.

Where does the Footer Code output?

Wherever wp_footer() is located in your theme.

Will AddFunc Head & Footer Code work if there is no `wp_head()` or `wp_footer()` in my theme?

Wherever one of those functions is missing, your code will not be output there. But omitting one of them does not stop the other ones from working. AddFunc Head & Footer Code will also save your code regardless. It just can’t output your code without the presence of those functions in the theme.

Does AddFunc have a website?

Yes. addfunc.com

×
نظری برای این آیتم موجود نیست.
0 0 رای ها
امتیازدهی
اشتراک در
اطلاع از
0 نظرات
قدیمی‌ترین
تازه‌ترین بیشترین رأی
نسخه حجم فایل SHA256 تغییرات دانلود
2.5 8 کیلوبایت -
دانلود
×
★★★★★
★★★★★
5.0 /5 (25 نظر)

قیمت:

رایگان

نگارش

2.5

آخرین انتشار

10 اردیبهشت 1405

آخرین بروزرسانی

4 ماه پیش

نصب های فعال

20,000+

نگارش وردپرس

وردپرس 3.0.1+

تست شده از نسخه

وردپرس 6.9.4

نگارش PHP

-

نسخه ها

1 نسخه