Community Forums › Forums › Archived Forums › General Discussion › Home Featured Issues In Eleven40 theme!
Tagged: full-width slider, Home Featured, home page
- This topic has 18 replies, 2 voices, and was last updated 11 years, 10 months ago by
Brad Dalton.
-
AuthorPosts
-
May 20, 2013 at 3:16 pm #41892
koshin
MemberHi I registered the home featured widget area and used the codes from here: http://www.briangardner.com/home-widget-area-eleven40/
I did exactly what he said and changed the codes to make it a full with widget
I put a Revolution Slider in the widget - BUT the only way to make it appear is by putting a code in the Home page before the text.....So the ONLY way the slider shows up full width is if I have the portfolio layout BUT I want to have a sidebar area after the slider on the home page and I cant figure out how to resolve this!!!! Please help!!
Thanks
http://www.lemondeangelique.comMay 20, 2013 at 3:27 pm #41894Brad Dalton
ParticipantTry changing the hook from genesis_before_loop to genesis_before_content_sidebar_wrap
May 20, 2013 at 4:23 pm #41903koshin
Memberthanks Brad- I did that but it isnt working - in order to make the revolution slider work you have to put this kinda code in the beginning of the page you want it on: [rev_slider koshin1]
So I suspect this might be causing an issue - I have spent 6 hours trying to figure it out - if you have any insight I greatly appreciate it
thanks
May 20, 2013 at 4:26 pm #41904koshin
Memberit says this under the slider plugin: but I dont really see how or where to add codes besides on the actual Page I want it
How To Use:- * From the theme html use: `` example: ``
For show only on homepage use: ``
For show on certain pages use: `` - * From the widgets panel drag the "Revolution Slider" widget to the desired sidebar
- * From the post editor insert the shortcode from the sliders table
May 20, 2013 at 4:30 pm #41907koshin
Memberthis editor wont allow me to put in any codes on this reply - weird
May 20, 2013 at 5:02 pm #41917Brad Dalton
ParticipantYou need to add support for shortcodes in widgets and/or echo the shortcode.
Example:
If you want to use the shortcode in a text widget, add this to your child themes functions.php file.
add_filter('widget_text', 'do_shortcode');
May 20, 2013 at 6:03 pm #41924koshin
MemberSorry Brad if I am slightly confused: I have been learning this for only a year.....
- so do I just add the same code you wrote :
add_filter('widget_text', 'do_shortcode');
in the functions.php file or do I add more codes
and do I leave the slider code on the actual HOME pageMay 20, 2013 at 6:37 pm #41928Brad Dalton
ParticipantYou can display the slider using a widget or echo in the shortcode. Either way, you'll need to add support for shortcodes so add that one line to your child themes functions.php file.
Then you can add the shortcode for your slider in a widget or using the code I have supplied above.
P.S. I did notice that when you pasted the code it changed the Apostrophes which will cause an error. Paste the code into Notepad++ first and fix the apostrophes.
May 20, 2013 at 6:38 pm #41929koshin
MemberI cant see where to put the code and if I need any other markings around it
May 20, 2013 at 6:42 pm #41932koshin
Memberdo I just put it in the bottom
do I need any brackets
like this ) );May 20, 2013 at 6:42 pm #41933Brad Dalton
ParticipantPaste the one line of code as is.
All PHP code should be pasted at the end of your child themes functions.php file using a text editor like Notepad++.
May 20, 2013 at 6:44 pm #41934koshin
MemberI am really grateful for your help - I know I am realllly close to getting this right!!!!!
May 20, 2013 at 7:05 pm #41936koshin
MemberI did what you said and I see no slider. I also went over the code and cant find any missing or incorrect Apostrophes.
May 20, 2013 at 7:15 pm #41940koshin
MemberThis reply has been marked as private.May 20, 2013 at 7:16 pm #41941Brad Dalton
ParticipantMay 20, 2013 at 7:17 pm #41942koshin
Membera text widget, and the nI also tried using the slider widget - nothing works
May 21, 2013 at 4:30 am #41997koshin
MemberI was still unable to fix this - I really hope you can help me figure this out!
May 21, 2013 at 4:52 am #41999koshin
MemberI found this article http://hackadelic.com/the-right-way-to-shortcodize-wordpress-widgets
it says that code wont work properlyMay 21, 2013 at 3:49 pm #42084Brad Dalton
ParticipantThe code I supplied you is tested and works. You will need to modify it for use with your slider as its an example of what works with Soliloquy.
You could also create a widget area and drag in a slider which uses widget like the Genesis Responsive Slider.
- * From the theme html use: `` example: ``
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.