-
griduserParticipant
I would also like to be able to add ‘sticky pages’ to the slider. I have no idea how right now, but I’m researching :).
Your theme is wonderful, and is a great starting point for customization! See my website:
http://www.classicalislamiclearning.comgriduserParticipantHey Daniel, how about an update which allows a ‘featured’ page to be displayed in the slider. I guess it would have to have a featured image, and an excerpt field like a post.
Also, would it be possible for a ‘featured’ page to be treated as a post, and be displayed in the grid? From what I’ve seen in the source code, this doesn’t seem like a trivial thing …
Daniel TaraKeymasterThat’s probably going to come sometime in the future as some users have requested it.
angelajholdenParticipantMany thanks to those who contributed to this thread. I was able to add a page to the front with the slider by re-working the PHP.
griduserParticipantangelajholden, can you please upload the files that you have modified. to allow the slider to display a page instead of a post? Did you add an excerpt option to the page, and a featured image?
angelajholdenParticipantThese are the codes I changed, per the users in this thread:
To add the slider on a static home_page, you can insert line 3-5 from
index.php on the 3rd line of page.php. Then change the is_home() function
to is_front_page()change line 573 in function.php is_home->is_front_page, to define
flexslider class.It worked beautifully!
A.
jalex11Participant@Jos – You mentioned you are using a child theme to avoid editing the original files. Is it working for you? I tried creating one and just making some changes to style.css, but the formatting didn’t change.
Is there something else I have to change in the code for the child theme to work?
CissiParticipantHow do I get the lines to be numbered? and I tried to change the things you sad an I get the slider on the front page but it only shows I post even though I have two that should be sticky. Do I replace line 3 with 3-5 or only paste it above line 3?
AnonymousInactiveHi All,
I just started to use this fantastic theme, but am also having the problem of images not showing up in the front slider. The posts, new or not, show up — whether they are marked sticky or not — but the images do not show.
I’m not skilled at PHP (at least not yet) so would appreciate any advice as how to fix this issue.
Thanks!
http://www.Hoodahmahn.comJos KleverParticipant@jalex11 – Have you ever created a child theme? See http://codex.wordpress.org/Child_Themes for the basics.
@Cissi – how to show line numbers in your files depends on which editor you use. the lines 3-5 need to be inserted after line 2. (The old line 3 will be line 6 after the insertion.)
To let the slider slide you have to change line 573 in functions.php. Basically it only works when is_home() but by adding is_front_page() to the condition, it worked.@Hoodahmahn – You probably haven’t added featured images to the sticky posts.
CissiParticipantJos: I use the blid in editor in wordpress. Im new at this, is there one you can recomend?
jalex11Participant@Jos This is my first child theme, however I have read the link you included plus additional resources. I do have some coding background, but not in WordPress or PHP so I am re-learning.
Jos KleverParticipant@Cissi – I use Adobe Dreamweaver myself, but Notepad++ is free and will do the trick just fine. When you would like to keep editing the theme files from within WordPress, you could check out a plug like http://wordpress.org/extend/plugins/advanced-code-editor/
Jos KleverParticipant@jalex11 – I’ll answer your question in the new topic you’ve created to keep this post on topic.
Tagged: post slider
You must be logged in to reply to this topic.