how to install my theme using wp quick install script? - wordpress

i am using WP Quick Install Script to install WordPress and it works fine. but it's not installing my custom theme. i also placed theme as theme.zip in WP-quick-install folder but it shows a white blank screen on front-end.
what is wrong there?

Any reason why you are using WP Quick Install in the first place?
I would simply suggest setting up the site as normal and adding your theme into the /themes/ directory.
If this is daunting, just shout, but first read the Wordpress Codex - Installing Wordpress

Related

Wordpress plugin development, symlink not working

It used to works before maybe a year ago. now i'm trying to build new plugin using symlink. but wordpress not detecting that symlinked plugin.
i tried ln -s /plugin-source/ /site/wp-content/plugins/plugin-name
i've also tried using 'sudo ln'. but it's not showing in wordpress plugin. when i copy it directly it works fine. anyone know why symlinked plugin not detected by latest wordpress? Thanks!
Update
answer below works. in my case it was osx not letting wordpress to access symlinked pluging from my desktop (not sure what's reason). so i move it to htdoc directory and it worked fine.
According to your comment, it seems to me that you have tried to add it as a relative path. You should be able to make it work using the absolute path.
sudo ln -s /Users/username/Desktop/wp_plugins/plugin-name /Applications/MAMP/htdocs/site/wp-content/plugins/plugin-name
Replace username with your username. It should be able to fix your problem.

Wordpress: How to translate custom Composer package with wp i18n?

I'm creating a WP theme using Sage 10. I figured to create some Composer packages, hosted om GitHub, since I use multiple parts of code in multiple projects. To translate the theme I run yarn translate in the CLI, which runs wp i18n.
Now, this works fine for the theme, but how would I translate a package. So I don't have to re-translate it for each theme? How to store it in the package and for Wordpress to grab and use the translation?
-- Edit, as per request --
In my theme I use Composer as it is used by Roots Sage 10. In my composer.json I require my package with
"require": {
"my-name/mypackage": "^1.0.0",
...
},
My package and code are loaded by the autoloader of the theme. Now, in my theme I can translate the theme using wp i18n. The thing is, that I can translate the theme but not my vendor packages. So I would need to do it from the git of the package.
I guess this could be done, although I don't know how, yet. I suppose my composer package would become something like:
mypackage
- src
- languages
- mypackage.pot
- my-code.php
- composer.json
- init.php
Now, I would guess the should be a way to tell Wordpress there is a language translation inside the /src/languages. I would guess this would be done from the composer.json or the init.php.
But there is where my knowledge ends :)

Wordpress using Jupiter Theme - Page Warning

I am using WordPress with Jupiter Theme. I have just updated the Jupiter theme with the latest version. The website is working fine but there is a one-page show Warning in the location of the header. The warning is:
"Warning: include_once(): Failed opening
'/srv/users/serverpilot/apps/inj/public/wp-content/themes/jupiter/framework/admin/control-panel/logic/icon-selector.php'
for inclusion (include_path='.:/opt/sp/php7.1/lib/php') in
/srv/users/serverpilot/apps/inj/public/wp-content/themes/jupiter/functions.php
on line 263"
When I check the location of the missing file icon-selector.php, there is no icon-selector.php located there. I have one icon-selector.php file from my old version, so I copy and paste the file to …admin/control-panel/logic this location, however, the warning is still there.
Any thought to remove the warning?
It might be related to Jupiter's new control panel. However, make sure you have installed the theme and its plugin properly also it's better to contact the Jupiter author.

cant install wordpress pulgins and theme

enter image description here
check the image this error come every plugin and theme I tried to install

The package could not be installed. The theme is missing the style.css stylesheet

I am beginner in WordPress and trying to install theme in it. But I am getting
The package could not be installed. The theme is missing the style.css
stylesheet.
error when I am uploading main .zip file. After getting this solutions I am not able to get Theme folder or .zip file in main folder... my main folder directory is
Please anybody suggest me, what should I do?
Copy caliope folder into ~wordpress_installation_folder/wp-content/themes
If you are installing this folder it won't install as it is the whole package from theme developer, not just the theme.
The most common issue is that it is a Plugin, not a Theme. If you are unsure, just try to install it under the Plugin section.

Resources