I was wondering if Wordpress 3.0 will allow me separate instances of the same theme to customize to my liking? Then I could use these two themes in two separate blogs in that same multiuser Wordpress 3.0 instance? Is this possible?
Like could I completely customize the TwentyTen theme and then install another TwentyTen theme under a different name/folder and lcustomize that as well.
I am trying to learn the ins-and-outs of Wordpress 3.0 for use in a bunch of different projects including internal employee blogs.
Any insight would be great on how I would accomplish something like this.
You could just create a new copy of the TwentyTen theme folder with a different name inside the /wp-content/themes directory:
/wp-content
/themes
/TwentyTen
/TwentyTenWithFancyMods
Then open up the styles.css file inside the new theme's folder and edit the comment at the top (and even create a new screenshot.png if you want). That way, when you're in the WordPress theme control panel, you'll be able to tell the two themes apart.
Related
I had 2 custom templates I used in core/bartik theme which got deleted after I updated drupal core.
Is it possible to "protect" those templates from being deleted?
Make your own theme. Inherit some existing theme if you don't want to start from scratch. Then copy existing templates to your theme and change them the way you like. Never change Drupal core files, including themes.
By changing core files you made updates almost impossible.
If you don't want to create your own theme or sub theme from scratch you can make Bartik to be your own custom theme by just placing coping of to live inside /theme directory.
So now you will have 2 "Bartik" themes
Drupal core's one in
/core/themes/bartik
and yours in
/theme/bartik
In this case drupal will use the copy inside /themes/barik
But, if doing so, it is highly recommended to go another step and rename your copy of the Bartik to be something like "My Bartik" by
Edit the theme name inside bartik.info.yml
Perform search/replace in all theme files of "bartik" into "my_bartik" (machine name).
Replace "bartik" also in file names.
Rename the theme directory to be your new custom name (machine name).
I am new to WordPress. And I want to set diffrent colors in the title of the customizr theme.
How could I finish that? I know that if withou WordPress, I could use css and span tag finish that like how to set different colors in html in one statement.
But how could I do that in a WordPress theme.
You still have to use css. If you want to edit the theme, locate the theme folder first. Go to wp-content/themes/customizr or whatever the theme folder is.
Usually the title can be found in few different files: single.php, page.php, index.php, etc., it depends from theme to theme. Many developers include templates inside each of these files too. Again, everything changes from theme to theme.
My recommendations is to create a child theme to perform any customization. Also I recommend reading the codex to know more about WordPress development and theme development, that way you learn more how things come together and work.
Normally, I would create the file:
single-{post-type}.php
header-{template}.php
page-{template}.php...
in my folder theme.
But I want to all template files into one folder "templates", What is the solution, somebody can help me?
There are many ways to do this. Perhaps one of the most common is to use get_template_part().
Also, it's worth noting that WordPress will search all sub-directories for page templates, by default, since WordPress 3.4. This only refers to custom page templates, however, and does not include specialized page templates.
The template i want to convert is:
http://www.dragdropsite.com/demo/mpurpose-free-multipurpose-twitter-bootstrap-3-template/
it has multiple stylesheets and wordpress doesnt recognise the theme when places in wp-content/themes/ folder
What are the steps involved to convert it?
I wouldn't call it 'converting'. Wordpress themes are not just a simple html/css/js folder structure on the themes folder. Making a website work with wordpress is more involved than that. If you want to do it yourself you will need some experience with PHP. Wordpress's templating system is not very hard to learn but it won't happen on one sit.
I suggest you to take a look at this place so that a skilled person can do it for you
Click here to check envato studio.
I am in the same opinion with alejandrocavazos. While, it is not easy to create a wordpress theme, converting an existing bootstrap theme will be very difficult too.
But i have an idea. Find a similar wordpress theme. Save it with another name. Page by page edit the theme and copy/paste your theme's content into this wordpress theme. If you make the changes directly on a web server, you can see the changes realtime. I think this is the easiest way to do it.
Good luck.
Yes you can do that, but its quite difficult to convert entire HTML theme into wordpress directly. You need some basic understanding of wordpress and how it works.
There are some good articles available, please go through them. You will surely understand it well and will be able to convert your HTML into wordpress.
I assume here, you are using Bootstrap framework to design your static websites.
1. How to Build a Responsive WordPress Theme with Bootstrap
2. How to convert a Bootstrap site template into a WordPress website
3. Creating a WordPress Theme From Static HTML
To Convert a Bootstrap 4 Template to a Wordpress Theme there is some work involved and there is no easier way to do in few clicks.
Start by using a starter theme such as Underscores.
-> Migrate your assets (js/css) from static template to the wordpress starter theme directory.
-> Start moving your page sections one by one (header, nav, page sections etc.)
-> To have more control from Wordpress dashboard, make use of plugins like Advanced Custom Fields, Custom Post Type UI and Contact Form 7.
For Detailed Tutorial you check out the Tutorial in this link
https://www.5balloons.info/convert-bootstrap-4-templates-wordpress-themes/
i'm wondering if it's possible to add a php file in your themes folder (wp-content/themes/classic) where the css file is, then link afterwards? Because i'm currently trying to add a register.php into my blog but i still need the header and everything else.
Yes. For example, if you want something like www.yourdomain.com/test follow this steps:
In your theme folder create a php file called page-test.php.
From your dashboard publish a page with the title Test(with no content at all).
Now, when you'll go to www.yourdomain.com/test you will se your page. And in page-test.php you can use all Wordpress functions such as get_header(), get_sidebar() etc.
Yes. What you want is to define a new "page" template, and then to create a new page in your wordpress using that template. Here's the WP documentation on that topic: http://codex.wordpress.org/Pages#Page_Templates
Alternatively, you don't have to place it in your theme folder; you can put it in the root wordpress folder and have it function outside of wordpress. Then you can change your theme to have a static link to that page, or link to it in some other manner. It would be more difficult to use the header/footer/sidebar template features, though.