March 14, 2013 at 8:26 am #26170
I would like to add a featured post widget to my homepage that displays thumbnails. It is currently on the Featured Sidebar.
Is this possible to do with the Prose child theme?
MarkMarch 14, 2013 at 7:03 pm #26932March 14, 2013 at 7:58 pm #26937
Yes, I actually saw that when I searched before I entered my question. Please forgive me, I’m fairly new to this and when I saw “sidebar” I was thinking you were describing how to enter a slideshow.
Can you tell me where I can find the lib/init.php file? The only place I’ve seen something like that is in Editor and it says not to enter anything below a certain line. I don’t want to mess anything up.
Thanks for your help,
MarkMarch 14, 2013 at 8:06 pm #26939
Its in the Prose theme folder. Use FTP or File Manager in cPanel and go to wp-content/themes/prose/lib/init.php
Go to lib/init.php. Backup the file first and copy the code from the raw view.
Open the file using a text editor like Notepad++
This will add a widget area.
You can also style it easily using CSS if needed.
March 15, 2013 at 6:29 am #27102
That’s a little beyond me right now, maybe I can get Hostgator to help me with it.
At least I know it can be done though, so that’s a good thing.
Thanks for your help with this,
MarkMarch 15, 2013 at 6:36 am #27104
Its not that difficult because all you need to do is paste the code into your child themes init.php file.
HG won’t help you with coding.
Link to your site please.
March 17, 2013 at 8:44 am #28546
Sorry for the late response. Here is the site I want to do it on:
MarkMarch 18, 2013 at 2:09 am #28851March 21, 2013 at 1:39 pm #30204
I got as far as wp-content/themes/prose/lib, but there was no init after lib. Does Prose have that?
MarkMarch 21, 2013 at 7:37 pm #30352
I don’t know if opening those folders did anything, I didn’t touch anything in them, but my Prose sites are not right. My primary sidebar is gone, instead it is one large column with everything all over the place.
It would be good if I only wanted that, but I want to be able to use the primary sidebar still AND be able to use a widget on the home page.
Any idea as to what happened and how I can fix it?
Thanks for your help,
MarkMarch 22, 2013 at 7:03 am #30421
Well, the sites are ok. Maybe it was just the laptop I was using last night?
I still don’t see the “init” option after the “lib”.
MarkMarch 22, 2013 at 7:14 am #30424
You must be logged in to reply to this topic.