I have been working on Wordpress for a month creating themes. Otherwise, when I'm starting a new project, I'm always starting with an existing theme that I am modifying.
What I want, is to clean perfectly a theme and add to it what I need for the website.
But, my Wordpress knowledge aren't enough to do it. So, I'm asking you if you know a great book, website etc, where they are explaining simply how to create a new theme (understand every features of Wordpress, explaining every functions in the functions.php file, how to add correctly Wordpress post content).
Thanks
Romain asked:
...how to create a new theme (understand every features of Wordpress,
explaining every functions in the functions.php file, how to add
correctly Wordpress post content).
Start with the codex http://codex.wordpress.org/Main_Page which is
the online manual for WordPress and a living repository for WordPress
information and documentation.
What I did was create all the files and save them in a folder, then upload them as needed. I copied them from this simple tutorial and although says its to create a designed theme, it has nothing but basic blank theme:
http://blog.spoongraphics.co.uk/tutorials/how-to-build-a-custom-wordpress-theme-from-scratch
You can download simplest possible theme for wordpress here:
http://wordpress.org/extend/themes/simplest
After you take a look at this and create some theme using this simple theme - you will better understand Wordpress Codex, and you can follow #markratledge suggestions about Codex.
Anyway, I decided to not read whole codex and im using this theme ("Simplest") as boilerplate for my themes.
You should check out Starkers by Elliot Jay Stocks:
Intro: http://viewportindustries.com/products/starkers/
Demo: http://starkers.viewportindustries.com/
Github: https://github.com/viewportindustries/starkers
It helped me out a bunch of times to start from scratch. It has the basic files and no CSS.
the wordpress.org will be your best starting point, for your
(understand every features of Wordpress, explaining every functions in the functions.php file, how to add correctly Wordpress post content).
You can make WordPress themes from the scratch by following some methods
By using Youtube, but that'll be not very professional
By using Google, yes you will find many sites that will show you the process and this is efficient and free
By using Udemy or Lynda, you will learn about the whole process with the necessary knowledge like the hierarchy of wordpress, tools & standards for wordpress etc.
By using wordpress.org, this is most desirable and professional way of learning wordpress as this is the main place for all the things happening around the WordPress.
Related
The site is a charity site, which is expected to have a news feed of goings on within the charity and events. Most of the home page is complete. But I don't know exactly how to write the code for an article in bootstrap, so that when I upload it to WordPress, it will interact properly. Allowing me to create new articles, remove old ones, etc. I either need to find out how to do this, or find out if I can use plugins to give me the same effect. This is my first time using WordPress. If you know of even a tutorial or something that helps with the news feed being built in bootstrap to work in WordPress, I would be over the moon. Thank you to anyone who offers their help!
I've tried to find an answer online but all I get are pre-built news theme suggestions. I guess there just that many it drowns out any answers.
The short answer is no.
A bootstrap theme is just a static page. (HTML, CSS, JS, etc.) But WordPress creates all its pages dynamically. This is because all the blog posts are saved in a database. In order to work with WordPress, you would really need to use a WordPress theme. If you know PHP you could easily migrate your bootstrap theme to a WP theme.
There is even a bootstrap starter Theme which might help you to get started: https://de.wordpress.org/themes/wp-bootstrap-starter/
In this case you would really just need to add your markup, styles and scripts to the project.
I'm new to wordpress, and I want to know if it is possible to put a theme bought on shapedtheme.com for example on an existing wordpress.
And if so, how to do it. I don't know where to put the code of the theme. I saw the wordpress page builder with text, but I see tags with [] and not <>.
I saw on this thread that pages can be linked to php files. I don't see how.
I have full access to the hosting service's filesystem and can see all wordpress files.
I would also like to transpose the theme header and footer and if possible, use the theme cards to adapt to blog articles written in wordpress.
How can I do this ?
I searched for tutorials on google or related threads on SO with no luck.
Any ressource would be appreciated.
Thanks to anyone who will take the time to read/answer this post.
No, you can't use a non-WordPress theme in a WordPress installation since WordPress will look for specific templates and pass certain objects to the template to be displayed.
You could adapt it to work with WordPress, though. Here's the theming guide to get you started.
But you'll probably be able to find a WordPress-ready theme with the features you want. This is the WordPress theme directory link for themes using bootstrap.
Unless you go for a from-scratch development of a pure php theme, and you need some level of theme customization I'd strongly suggest looking into child themes, as it'll allow you to update the base theme minimizing the changes you'd have to do to yours.
The [ ] syntax you mention are shortcodes, small, safe php functions that can be executed by inserting them in the editor, templates, etc, and provide kind of an api that exposes WordPress or plugins functionality.
And regarding your link, OP already has a WordPress theme, but is looking for a way of using a different, specialized template on specific pages. This template still has to follow to certain WordPress conventions.
I tried researching it but do not find a direct answer I am trying to move a kentico cms website to wordpress but would like to know if it is possible to copy the kentico theme design to then place it within my new wordpress website?
Thank you all feedback and suggestions welcomed.
Not without manually changing some parts around and adding the WordPress related functions, no.
While you'll probably be able to copy your CSS file, you will have to do the basic WP theme work, e.g. adding the informational comment to your style.css, make sure your header and footer call wp_head() and wp_footer(), add the functions to work with the loop to output content etc.
You can find lots of detailed documentation on creating themes in the codex.
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 am a food blogger and have recently learnt about recipe rich snippets. I found some material online, mostly being about plugins. I tried using ZipList plugin, which is actually pretty good, but
For some posts, I cannot add pictures within the recipe box and
I cannot add alt text to my pictures (which I find to be quite SEO-unfriendly or is it?).
So, I was thinking of trying to implement it by myself onto my website.
Any good links or advice on how to do it? I tried looking on google but I am only coming up with plugin tutorials.
Yes, your search results are correct.
If you don't want to use a plugin, you have to code it yourself. But this is the kind of thing that you don't want attached to your theme's functions.php ("without a plugin"). Because you have to be able to swap themes and preserve this functionality. Themes are for design and content display. Plugins for functionality. All those themes with SEO incorporated are simply dumb.
So, you end up writing your own plugin. See this article: Create a functionality plugins instead of using Functions.php.
What is a functionality plugin?
Traditionally, if you wanted to create a new function for your blog to add to its functionality, the advice has been to add the code snippet to your theme’s functions.php file. Now that’s all well and good and it will work fine, but what happens when you change your site’s theme (which you can guarantee will happen at least every few years) or the theme gets updated? Since functions.php is located in your active theme folder, if you change your theme, it inherently becomes defunct.
All that being said, what I'd suggest is that you create a Custom Post Type to handle your recipe snippets. You'll have all the default functionality of WordPress customized to your needs. The CPT could have only Title, Content and Featured Image, eventually your own taxonomy (recipe categories).
Useful links:
Documentation of CPTs
Smashing Magazine tutorial
WP Tuts tutorial
Or you can use a nice plugin to create your CPT :)