I am trying to make a custom theme to a new project in Sylius. I have read de documentation and followed the steps to create one simple theme to start with.
I went to channel configuration and have assigned the created theme to one of my channels but the problem is that when I load the storefront the theme isn't loading. The profiler show I am using the correct theme but it keeps loading Sylius' default layout.
Has anyone who have achieved this give me an idea if what could be missing? I'm pretty sure all of my files are in place.
This doc pull request should help you - https://github.com/Sylius/Sylius/pull/7304
Did you remember to clear the cache? ;>
Related
I hope you do not mind if I ask a general questions regarding bootstrap and WordPress.
I have created a website using just bootstrap. I am trying to set up an Appointment Booking System on it. I know that in WordPress there is a good plugin for this that would work well.
I have two questions regarding the above statement.
Is there a way that I can keep my customized bootstrap theme and integrate a WordPress plug in into my site without having to build the site from scratch in WordPress.
2) Is there a way to load my bootstrap code into the WordPress portal (so it is a customized bootstrap site) but that I would be able to use all of the available WordPress plugins.
Thanks
Colm.
Unfortunatly, if you want to use your custom html you need to create a custom WordPress theme. By the way, this is not difficult at all, and if you have already your static files setted up, splitting them in a theme is almost straigth forward.
Before stepping into it and start trying some good starter blank themes (underscores, timber, root etc..) my advice is: follow a simple guide and learn core WordPress theme hierarchy, then you'll be able to do almost anything.
This is the first guid I found but - ehi - Google is your best friend!
https://scanwp.net/blog/create-a-wordpress-starter-theme-from-scratch/
I know it can be a very dummy question but I'm trying to figure out how I can develop and make changes in an already existing wordpress page (write new code, etc)? Before the changes go online, I must be able to save it somehow and I also need approval from its owner.
What is the best practice for it? It has some paid plugins also, I was thinking that I should create a parallel wordpress site exporting everything from the existing one and work locally.. how does it sound? Any suggestions?
I work on mac and use Docker.
Many thanks in advance!
Cheers!
Have a read on Wordpress Developers relating to Child Themes. Tou can get started here - https://developer.wordpress.org/themes/advanced-topics/child-themes/
This will allow you to activate a child theme over a normal theme and any changes you make to its functions.php will not be overridden when the parent theme updates.
You will just need to maintain the code incase major updates are undertaken on the parent theme.
I'm working on wordpress. And has this kind of requirement, where I need to have an ability in admin panel for administrator wherein he can upload an image. This image will be used at two places in the theme.
I've tried to figure out this, and found that image url can be store in options table and can be used in the theme to retrieve the image.
But not sure how to give an interface for that in admin panel. Any idea to achieve that will be great.
Is it not possible to use the built in Custom Header image system? I don't really know all of your requirements but there is no reason to build something if you can co-opt something instead. :) Granted, it is called a "header" but it really doesn't have to be. Where it shows up depends entirely on the theme. If that doesn't work for you, you've got a considerably more complicated project but you'd probably want a Theme Options page.
Go to your wordpress panel-> plugins:
install plugin named: Custom Upload
Or your can download it from :
http://wordpress.org/extend/plugins/custom-upload/
A simple plugin to upload any type of image in wordpress.
I think you can use it to manage your images of theme.
And that's it, good luck.
I need to build a new WordPress site form scratch. So I guess I need a blank theme to do that. I need to know where I can find such a theme like that, and I need a tutorial that can help me to create my first WordPress theme from scratch.
I'm new in that world. So please I need your help.
If you're starting with no WP knowledge, I believe you're better off modifying a blank theme than you are creating one from scratch.
Here is a great tutorial I used when I started doing custom themes. The HTML is getting outdated semantically, but it will teach you all working parts of a WP theme.
As a starter theme I use HTML5 Boilerplate which is full of quality HTML5 and additional features like file caching, cross-browser readiness, mobile device readiness, and file caching, to name a few. Also it's got a minimal default styling.
You may also find the wordpress site helpful. Cheers.
starting with twentyten or twentyeleven isn't a bad option either.
Whatever theme you choice make it a child theme.
It may seem like something complex at first but it will make things easier along the way.
Theme Hybrid has a great blank theme: http://themehybrid.com/themes/skeleton
I have a starter theme on github that was originally based off html5 boilerplate that you can check out.. https://github.com/FernE97/html5-blank-slate
After looking around for hours I couldn't see anything even close to what I saw here:
http://www.youtube.com/watch?v=Y2Bu5NoYZ7M&feature=player_embedded
As you can see, they created a custom editor for Wordpress (not just some edits to TinyMCE), its a whole different editor even with an option to switch back to TinyMCE.
Does anyone know how to create custom editors for wordpress without altering the core files and just via a custom theme? I am starting to think its a custom meta box...but I am not sure.
Any clue will be much appreciated!
I suggest to use a plugin to extend the default tinymce WP uses.. Take a look at this plugin: http://wordpress.org/extend/plugins/wp-super-edit/screenshots/
If you really want a completely different editor, ckeditor is quite ok.. There is a plugin too: http://wordpress.org/extend/plugins/ckeditor-for-wordpress/screenshots/
Always use or write a plugin an don't change any core files is indeed the way to go!
Please let me know what you think!