Common DB table for multisites

This topic contains 4 replies, has 2 voices, and was last updated by  Stiofan O’Connor 7 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #409881

    Alexander Lukashov
    Expired Member
    Post count: 5

    Hello, dear support.

    I have multisite where site.com is information site while site.com/catalog – additional site that using GD plugin. I would like to use one database table for both in order to I could use some shortcodes of GD at main site. E.g. I would like to use at home page last added places or recent reviews.

    #409908

    Alexander Lukashov
    Expired Member
    Post count: 5

    And relatively another plugins I would like also make the same 🙂

    #409915

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is not something GD can do bye default, it would require much customisation and probably require running the GD plugins on both sites which would defeat the purpose.

    Stiofan

    #409919

    Alexander Lukashov
    Expired Member
    Post count: 5

    Is it impossible make GD of one site work with table of another?

    So I have the table wpel_geodir_custom_fields for site.com/catalog
    and the table wpel_2_geodir_custom_fields for site.com

    Really I could’t set that site.com would uses the table wpel_geodir_custom_fields?

    At both sites installed different GD.

    #409921

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    AH so you have GD installed on both sites already?
    There might be a plugin that will help for shortcodes, but maybe you could use the ”
    Multisite Shared Sidebar” plugin somehow?
    If you intend to do this yourself the functions you would need to use are https://codex.wordpress.org/WPMU_Functions/switch_to_blog

    Stiofan

Viewing 5 posts - 1 through 5 (of 5 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount