I have a WordPress installation with bbPress plugin installed. I'm wondering where shall I upload additional WordPress themes so they will not be overwritten with bbPress upgrades?
The most straitforward guess would be wp-content/plugins/bbpress/bbp-themes/ dir, however there's an index.php inside that states:
<?php
/**
* Do not put custom themes here. They will be deleted on bbPress updates.
*
* Keep custom bbPress themes in /wp-content/themes/
*/
?>
ok. I uploaded theme there but I can't find a place to switch theme. Went to Admin --> Settings --> Forums but nothing there. I even tried to create a bbp-themes dir inside of wp-content/themes and upload theme there but still no results.
Any help will be appreciated.
Add the theme to wp-content/themes/ as instructed, then choose it within the normal Appearance > Theme section.
You'll need to ensure your theme is bbPress compatible. It'll need the bbPress files and the following in the functions.php file.
add_theme_support( 'bbpress' );
Related
I am creating a theme for distribution purpose in wordpress and I am new in wordpress. I used some plugins in my theme. I want to show a notice for required plugins which is neccesary for my theme who would use my theme.
You can also use TGM Plugin Activation library to show a notice for required plugins
I downloaded the theme from w3layout.com. I installed wordpress and wampserver on my laptop. When i tried to uploaded downloaded theme to wordpress for further editing and customization it simply failed and showed following message.
"The package could not be installed. The theme is missing the style.css stylesheet.
Theme install failed."
link of the template - https://w3layouts.com/exchange-education-a-education-category-flat-bootstrap-responsive-web-template/
please help me to solve this problem as its very easy to do editing / customization with wordpress than doing it manually.
Thank you
Theme and Templates are not the same.
If you download a Theme from Wordpress Theme's Repo Then you will be able to simply unzip the file in the /themes/directory and activate it within the WP-Admin Dashboard.
A Template is simply a post or page template which is within a given theme.
The directory of a theme can vary but it could be located within the root of the theme or within a common /template/ directory.
Sorry if this does not help!
I just installed wordpress in softclaus. After installing, I visit wp-admin and sign in. I want to change the theme of my wordpress site. I click the Appreance Themes and there is no option to add new theme. It only has a Twenty Sixteen theme. Is there a setting I must change first? or what?
It can be not possible for you to install a theme because of a line in your wp-config.php.
define('DISALLOW_FILE_MODS',true);
Can you check if you can install plugins ? Or check this file at your wordpress root using ftp ?
The Twenty Sixteen theme is the default theme of wordpress.
I am trying to figure out how to install this theme to style my wordpress admin.
Does anyone know where in the root to install these files?
http://themeforest.net/item/avenxo-responsive-angularjs-html-admin/11660185
Thanks
First of all there are two ways of making a WordPress Admin themee: with a Plugin or by simply changing the CSS.
In this case, it recomended to make a new plugin because Angular Js needs more file js to works fine. Then this file js must be included in the core of wordpress.
Here is an example to init and activate a new plugin in wordpress:
<?php
/*
Plugin Name: My Admin Theme
Plugin URI: http://example.com/my-crazy-admin-theme
Description: My WordPress Admin Theme - Upload and Activate.
Author: Ms. WordPress
Version: 1.0
Author URI: http://example.com
*/
function my_admin_theme_style() {
wp_enqueue_style('my-admin-theme', plugins_url('wp-admin.css', __FILE__));
}
add_action('admin_enqueue_scripts', 'my_admin_theme_style');
add_action('login_enqueue_scripts', 'my_admin_theme_style');
?>
I hope this help,
best regards
Please consider to give a look at WordPress Codex. Note the answer by #Stefano Tux points you to the right direction.
Hope this helps
I want to enable a promo-code input box for the Shopp plugin on wordpress.
The documentation says that to get the promo box to show up I need to add the following PHP to the template file:
<?php shopp('cart','promo-code'); ?>
I am new to the wordpress CMS and do not know which template file this this should be added to / where to look. If anyone has done this I would really appreciate the details of where to add this PHP to enable the feature. All the tutorials focus on creating the promotions in the cpanel but do not cover turning on the promo input box with PHP.
Thank you.
This is a Theme API tag that is usually added to the shopping cart template file. When custom templates are setup in your theme the file is located somewheres around wp-content/themes/yourtheme/shopp/cart.php. Note that yourtheme represents the directory name of your active WordPress theme files.
Shopp has starter templates built in that you can copy to your theme files. Editing the template files in the Shopp plugin is not recommended because you will lose your changes with each upgrade.
You can copy the files from Shopp to your theme yourself, or you can use the built-in system for copying them. More information about these templates and how to install them into your theme for customization can be found in the Shopp User Guide documentation in the Theme Templates article.