Tagged: x
-
AuthorPosts
-
August 8, 2016 at 6:33 am #1121966
blue928ParticipantA description of a possible bug is towards the bottom, but first, here is Our workflow:
We create a website for a client on our development server, and when it’s finished, we hand it off them to both host and purchase their own X license key so they can move forward using X and getting support for it from community.theme.co.
We setup several development environments every day with our development license key.
But, this process is manual and tedious, and we’d like to completely automate it with WP-CLI.
Here is what we’d like to accomplish
1) Install WordPress, Database, and copy of theme and child theme files
2) Using WP-CLI, activate X-Child AND provide the license key via the command line
3) Activate the revolution slider and other X plugins with WP-CLI
4) Choose activate, and import one of the stacks, again, all with WP-CLIBasically, we need to be able to write a Bash script and have a new site setup completely without us having to go into the wp-admin area. How can we do this?
NOTE: I’ve noticed a possible bug. When we get to step 2) above, activating x-child with wp-cli breaks X and Cornerstone. It’s not possible to edit any page with cornerstone if this is the workflow. To fix this issue, the entire website has to be deleted and rebuilt from scratch before cornerstone capabilities are available to the admin user. Is this known? Why would this happen?
Thanks!
August 8, 2016 at 7:55 am #1122034
ChristianModeratorHey there,
That might be technically possible but that would require custom setup which falls outside the scope of our support. Also, we do not have a tutorial or instruction for that. You might want to contact our trusted partners who caters X setup and customization needs. Please see https://community.theme.co/custom-development/
Thanks.
August 8, 2016 at 9:00 am #1122114
blue928ParticipantSorry, I see now I could have worded that better.
I’m not asking your help to write a bash script, I’m capable of, I just need help understanding the architecture of your software.
You seem have a bug in your software that breaks what’s typically expected to work when following standard WordPress installation workflows. Are you not interested in resolving that issue?
Despite that, I’m simply looking for help locating certain data that can help with my issues, the rest I can take care of myself. With that said:
1) In what part of the database is the license key stored? Are there multiple places or just one? Or, in what file is the programming located that handles the license key after hitting enter on the admin screen? Understanding that, I can write the programming necessary to populate it on the command line programmatically.
2) In what file(s) is the programming located that handles what happens when someone hits “install” for a plugin on the X admin page?
3) Finally, when activating the x-child theme via the command line, cornerstone doesn’t work properly after activating it. We’re working on how to resolve this, but wanted to bring it to your attention so that X follows WP best practices regardless of installation method.
August 8, 2016 at 11:04 am #1122284
RupokMemberHi there,
Thanks for writing back. Let me summarize your questions simply. All of the extensions are bundled with the package you download from Themeforest. You will get them in extensions folder. So you can install them manually and with WP CLI. But if you want to enable installation from X Addons menu by validating your purchase then you need to use the X Addons menu by going through Dashboard. So it’s up to you that how you will use the downloaded plugins and X through WP CLI since you have them in your hand.
Hope this makes sense.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1121966 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
