I have installed a Wordpress theme in /wp-content/themes/mytheme/
I then applied this theme to a specific site. I am using Wordpress multi-site.
I want users who have access to the site to also be able to edit the theme from Wordpress.
Is this possible? How?
By default, only the super-admin has the ability to edit theme files in the WordPress multisite environment. In order to circumvent this default behavior, you will need to build and install a simple plugin and modify a WordPress core file. Instructions for doing so can be found here. Posts by jroakes and jrue contain the code you need to make the modifications. Keep in mind that updating WordPress could break the modification. Also be aware of the security risks involved.
Related
I'm new in WordPress
I misunderstand one thing about the theme use in WordPress
For example, I wanna create the as same website as this I purchased this template.
But when I installed the theme in WordPress it shows me the default Index.php file with little info, used my purchased theme
And when I purchased the theme there exist all src files of the above website.
How I can use my purchased src files of website that will work all function for ex: logins with db?
Thanks in advance!!!!
After you purchased the theme, you probably have just installed the theme and haven't created any pages or tweaked any settings. So if you want to get the same look as that of the preview website, you probably have to check whether the developer has provided any dummy data for importing.
Most of the themes listed in ThemeForest would have the option to import dummy data, so that customers would be able to install some pre-made posts, pages, config, etc. This might be there inside the custom settings page(as a single button to download the content) of the theme, or maybe they have provided it in separate XML files for you to import. If the files you have downloaded doesn't have it, make sure you downloaded All files & documentation. Here's a sample screenshot:
My guess is that you might have only downloaded using the Installable WordPress file only option.
If you are still unable to get the dummy data, probably you have to ping the support of that theme asking them to provide the dummy data.
I am currently trying to finish migrating a Wordpress site and have ran into an issue. The recapcha is not set on our temp domain and we currently cannot set it.
Is it possible to disable the invisible recapcha without going into the admin panel? I can't find anything in the database nor in the files.
So if you have use your theme that has template folder, you might get a file called form-template, inside your theme folder. Within the file, there are sets of Input tag that you can delete. But, it depends on what theme and plugin are you using in your WP. Because different theme and plugin has different way to retrieve the input tag template.
I am creating a drupal theme and use role theme switcher to change the theme according to user role
for the the role anonymous I've created a custom theme
the theme html script does not change whatever the changes I make
I've cleared the cache from performance
remove the cache from administrator->performance clear cache
change the default theme to new and fresh theme ( I am using zen) and run module and its custom theme
it may need modification in css or js files
Heed Drupal's unofficial moto when developing a theme:
Also, there are many base themes (Zen for instance) which have a setting to clear the cache on every page request during theme development. You turn this off once the theme is completed, but it's a nice feature when you're still working on things to avoid caching issues.
I am working for a client right now that is wanting me to author a wordpress plugin for them, and on top of that they want me to integrate it into their template as a feature. However since the url of the location of the plugin could change I want to be able to call the loaded plugin from the template, however I am not finding any good way to do so. I have read over WordPress Codex and not found a function that suits what I need, or I simply don't understand what they are doing. I am not familiar with how WordPress loads and uses plugins. Thanks!
Here's the WP overview on plugins.
In short, plugins are managed by the WP install and once activated automatically load when the pages are called. Plugin files are stored in: wp-content/plugins/ and are stored within each individual WP installation. As long as your client doesn't mess with the wp-content directory structure, your plugin should load if activated in the WP admin console (and it's functional/doesn't break). This is the only way to run plugins through WP as of now (though I don't see this changing).
Wordpress has a built in function to find the path to your plugin, similar to this:
$pluginpath = plugin_dir_url(your_plugin.php);
I believe that is what you are asking, no? Or are you referring to sending a function from the plugin to the template? In that case, you have to use an action hook. Here is the reference: Link
I want to develop WordPress themes and plugins. What do I need to know to do this?
I have knowledge of PHP, HTML, CSS and JavaScript. I have developed a few projects using these. What is the best place to start (except Codex), is there any book? Where can I know how the core of WordPress works?
Check out this neat infographic for a good introduction to the anatomy of a wordpress theme.
http://yoast.com/wordpress-theme-anatomy/
Professional WordPress Plugin Development
Digging into WordPress
For Plugins:
There are two places where you can code for plugin in Wordpress.
1. functions.php
2. Create a folder in plugins folder, inside that folder. Create a blank .php file, and code there.
For Themes:
As you asked for learning wordpress themes. Go to themes folder, try to get the structure and flow of wordpress default themes.
You've to code within themes folder.