WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Using plugins only one certain pages (4 posts)

  1. four80
    Member
    Posted 1 year ago #

    I'm a bit of a wordpress newbie so sorry if this question shows my ignorance, but, I've not been able to find an answer for this yet through Google searches etc, and so I thought I'd ask. In Joomla I can choose which pages to insert plugins onto, but how do I do that in WordPress?

    For example, I'd like to have a static page with a contact form on it... I've made the contact page and I've downloaded a simple but cool contact form... now I just need to know how to put this plugin onto the contact page 'only'. At the moment the whatever I do on the appearance > widgets page seems to happen globally on every static page on my website.

    Surely I can configure certain plugins to appear on chosen pages only though?

    I can't for the life of me figure it out on my own. Would appreciate some pointers, thanks.

  2. s_ha_dum
    Member
    Posted 1 year ago #

    WordPress doesn't insert plugins on a per/page basis. They are all global. WordPress plugins are more like FireFox addons. They are system wide. The plugin itself (well written ones anyway) should control, or provide you control of, where it appears. That is usually in the form of shortcodes, a plugin control panel in wp-admin, a widget, or a snippet of PHP to be inserted into a page template. How you insert your form depends on the plugin you are using.

    Don't confuse 'plugins' with 'widgets'. Your theme creates 'sidebars' though they don't actually have to be on the side or bars. 'widgets' are created by plugins, your theme, and the WordPress core. Widgets fill the sidebars. Where you have sidebars and how many you have depend on your theme.

  3. four80
    Member
    Posted 1 year ago #

    Hey, really appreciate the feedback. Really helpful, I wish the WP documentation was as straightforward.

    Dang, this will definitely take a little bit of getting used to, it might even be a deal breaker, as Joomla's approach just makes too much sense to me. It doesn't require any hacks, you just assign the module (or 'widget' for WP) to the page and position you want it to appear on... so simple.

    Shortcodes are definitely helpful, and they have their place, but I'm going to have to find out where to post feature requests, so I can request a legitimate WP admin feature that allows widgets to be assigned per page, not just globally.

    Anyhow, thanks.

  4. four80
    Member
    Posted 1 year ago #

    resolved

Topic Closed

This topic has been closed to new replies.

About this Topic