Featured Post Slider

Viewing 15 posts - 31 through 45 (of 72 total)
  • #5218
    griduser
    Participant

    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.com

    #5229
    Daniel Tara
    Keymaster

    Hey, beautiful customization. I almost didn’t recognize my own theme.

    #5254
    griduser
    Participant

    Hey 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 …

    #5304
    Daniel Tara
    Keymaster

    That’s probably going to come sometime in the future as some users have requested it.

    #5357
    angelajholden
    Participant

    Many 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.

    http://fazilsayfan.com/

    #5358
    griduser
    Participant

    angelajholden, 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?

    #5360
    angelajholden
    Participant

    These 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.

    #5596
    jalex11
    Participant

    @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?

    #5597
    Cissi
    Participant

    How 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?

    #5599
    Anonymous
    Inactive

    Hi 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.com

    #5601
    Jos Klever
    Participant

    @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.

    #5602
    Cissi
    Participant

    Jos: I use the blid in editor in wordpress. Im new at this, is there one you can recomend?

    #5603
    jalex11
    Participant

    @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.

    #5604
    Jos Klever
    Participant

    @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/

    #5605
    Jos Klever
    Participant

    @jalex11 – I’ll answer your question in the new topic you’ve created to keep this post on topic.

Viewing 15 posts - 31 through 45 (of 72 total)

Tagged: 

You must be logged in to reply to this topic.