Jump to content

Archived

This topic is now archived and is closed to further replies.

MobileParity

PinsPro Mulisite

Recommended Posts

MobileParity+    0
MobileParity

Hello all,

 

I have been trying to set up a multisite network for independent shop owners to sell hand-crafted goods (similar to Etsy however a niche market). Here is what I have been trying to do.

  • Set PinsPro as the default Wordpress Theme for all new sites
  • Customize the PinsPro so every new site would be branded for my company & only load a set number of templates for the end user.
  • Lockdown specific sections of the visual editor so the user can only change templates and CANNOT add new sections(if possible)

 

Each store owner would essentially be able to sign up via web form for free and have instant access to their shop. I am having a great deal of difficulty trying to simplify the process for new users.

 

ANY constructive feedback and help is greatly appreciated. My site is currently password protected.

 

 

 

 

 

 

 

Share this post


Link to post
Share on other sites
Simon    247
Simon

You can set a default theme via wp-config.php

/* Default theme */
define('WP_DEFAULT_THEME', 'dms');

I would suggest creating a child theme and making that the default theme, and then hide pinspro..

 

In the child theme you could somehow disable the editor or certain parts of it using a system of wordpress filters.

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

Thank you for the prompt reply. I will use your instructions to set the default theme.

It was my understanding that because PinsPro is a  "Core" theme that I would not need to create a child theme. Is this only true for single site installs? Since I am using this for a multisite install, is this the reason for creating a child theme? (if so, it makes sense to me. I just want to clarify and better understand the reasoning).

 

Can you clarify what you mean by "hide pinspro" are you saying to hide the theme (Appearance > Themes)? I would like the end user to have access to several templates in the "Page Setup" area for minimal customization. I can also disable unneeded sections (see attachment) and save to child theme so when setting the default child theme they will only have access to those sections, is this correct? Or would it be better to create the child theme and only included the needed sections?

 

Are you able to elaborate on your last comment regarding filters? Would this be a good use for "Hooker"?

 

 

Share this post


Link to post
Share on other sites
Simon    247
Simon

Lots of questions here...
 

It was my understanding that because PinsPro is a  "Core" theme that I would not need to create a child theme. Is this only true for single site installs?

No you dont need to create a child theme, but you will need to if you want to override the pinspro theme. A child theme inherits all a parent themes settings.



Can you clarify what you mean by "hide pinspro" are you saying to hide the theme (Appearance > Themes)? I would like the end user to have access to several templates in the "Page Setup" area for minimal customization.

In WordPress multisite, the network administrator can enable/disable themes for the network, so here you would make the child theme available to your users. The child theme would use the original pinspro theme as its parent theme but the end user will not be able to activate pinspro on its own.
 

I can also disable unneeded sections (see attachment) and save to child theme so when setting the default child theme they will only have access to those sections, is this correct? Or would it be better to create the child theme and only included the needed sections?

Didn't get an attachment, please use an image host like imgur for screenshots etc.
You cant disable sections from a child theme, best case here would be to delete the ones you dont the users to use. Or filter them out based on site IDs.
See filters reply below**
 

Are you able to elaborate on your last comment regarding filters? Would this be a good use for "Hooker"?

All the options and tabs that appear in the DMS editor area are controlled by a massive settigs array which is passed through a WP filter before rendering the toolbar.

So you could create a custom filter to manipulate this data in a way you see fit**

 

Hooker uses WordPress actions not filters, they are separate things entirely.

 

An action does something at a specific point.

 

A filter take data changes it and returns it back.

http://wpcandy.com/teaches/how-to-use-wordpress-hooks/#.U_UBgLxdUs4

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

Thank you! This has given me a great start to configuring the DMS Toolbar. Is there anything I should be wary of when configuring the filters for the child theme?

 

Cheers,

 

AG

Share this post


Link to post
Share on other sites
Danny    1,327
Danny

Thank you! This has given me a great start to configuring the DMS Toolbar. Is there anything I should be wary of when configuring the filters for the child theme?

 

Cheers,

 

AG

 

I am not entirely sure what you're referring to. Therefore, would it be possible to go into greater detail please.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
MobileParity+    0
MobileParity

My apologies for the delayed response. I am just curious to any common issues when configuring the DMS Toolbar. It is my understanding that I can lockdown the toolbar however I am not able to limit access to specific sections. For example, If I only want the user to be able to customize the header. I appreciate the assistance and when I have further questions. I will be sure to ask.

 

Cheers,

 

AG 

Share this post


Link to post
Share on other sites

  • Similar Content

    • hibbsy78
      By hibbsy78+
      Anyone having issues with Apple Pay & woocommerce? Before I start with trying to disable plugins one by one I thought I'd check here first!
      I'm having issues with the payment processing part which just times out?
      https://www.hibbslupustrust.org/shop/
       
      Thanks!
    • Paul
      By Paul+
      I have woocommerce store, product shows title and price fine until reduce screen with on a tablet/mobile phone the price and title gets removed?  Any ideas? 
      Here's an example page: https://thelaptopfixers.com/product/operating-system-re-install/
      Try it on both desktop PC browser then resize to mobile/cell phone size!  
      Thanks
    • ProCom
      By ProCom+
      I am trying to resolve a few issues. The first one is when I have the Platform 5 activated the product image will not display. However, once I deactivate the plugin the image will appear.  Can someone tell me if there is a article on how to customize the WooCommerce product, and shop pages using PageLines? 
       
       

    • BentleyD
      By BentleyD+
      Hey Everyone,
       
      Ever since the latest wordpress update, woocommerce will not display the product images. When you click where they should be they pop up in a light box, but otherwise are not visible. The errors appear to be theme related. Is there an update or fix for this?
       
      http://legalizedshop.com/product/legalized-t-shirt/
      @James B @batman
    • pehja
      By pehja+
      Hi!
      My site with only PL5, framework and pageline plugin except woocommerce is behaving strange when shopines is activated.
      It looks like this when Shoplines is activated 
      https://cl.ly/2C0A0G0B3Q31
      And like this when deactivated
      https://cl.ly/1C0R0b3q3m1S
      Have I missed something?
×