Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author vaakash

    (@vaakash)

    By external database, could you please give more details ?

    If you have the shortcodes in CSV format, then there are certain other plugins which can import shortcodes/posts from CSV file. Please follow this doc for the same – https://www.aakashweb.com/docs/shortcoder-doc/import-export/#import-other-sources

    Thread Starter iozcelik

    (@iozcelik)

    I am using multiple database. One of them wordpress database, second is mine. I want to create a shortcode with my second database. It’s connection string is different.

    So I cannot use $wpdb, I need to prepare query on second database. However, as I understood, shortcoder does not support it in easy way.

    • This reply was modified 5 years, 2 months ago by iozcelik.
    Plugin Author vaakash

    (@vaakash)

    what shortcoder version you are using ?

    Thread Starter iozcelik

    (@iozcelik)

    The lastest one. 5.1. And also wordpress version is lastest.

    • This reply was modified 5 years, 2 months ago by iozcelik.
    Plugin Author vaakash

    (@vaakash)

    Ok then. In that case, is it possible for you to export the shortcodes from the source website and import it in the target website ?

    Please refer do below to export and import.
    https://www.aakashweb.com/docs/shortcoder-doc/import-export/#export

    Thanks,
    Aakash

    Thread Starter iozcelik

    (@iozcelik)

    I dont need it. My request is different.

    My wordpress website has 2 database. But only one of them include wordpress files.

    Second is just my database and it has not any wordpress data.

    I think “shortcoder” plugin need to has multiple database option.

    Plugin Author vaakash

    (@vaakash)

    hmm… I don’t see a reason why this should be a feature as a part of shortcoder as it is a very unique requirement.

    What you could do is, import the database to the server to a different name where wordpress files are there, change the wordpress configuration so that the wordpress points to the database, export the shortcodes/posts, switch back to the original DB and import.

    Thanks,
    Aakash

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘External Database’ is closed to new replies.