Relocating slider on static home page
AnonymousJune 25, 2014 at 5:46 pm #9145
I’m trying to recreate something that I did before. You can see a captured version on the wayback machine here
Without doing any fancy coding or using complicated plugins or widgets, I got the slider between the front page content, and the front page panes. I thought there was a forum post about this, but I can’t find it.Mod
AnonymousJune 27, 2014 at 3:18 am #42871
Yes and no. I had previously managed to get the slider in between the normal static page content, and the home page panes. See the rather lousy site I was playing with at the time in the previous post^ Since I really don’t know much about coding, about the only thin I might have done was to move a line or two of code, but more likely it was some combination of un/checked boxes that resulted in the layout. Now that I’m trying to replicate the layout, I’m stumped as to how I managed to get it to do it before.
AnonymousJuly 1, 2014 at 7:56 am #42872
I’ve now got something that looks like the slider, but doesn’t work, located where I want it. I’m using an action hook and I’m trying to use the php widget to put the code into it. This is the closest looking bit of code I could find to try and make the slider work:
add_action( 'graphene_before_homepage_panes', 'graphene_display_slider',11 );
If I take out the 11, nothing shows up at all, and playing with different numbers doesn’t alter the result.
Enabling or disabling the slider also does not alter the result, just puts the proper working slider at the top like it is supposed to. In other words, the slider itself is working, if I get the correct code to make it show up and work properly where I want it to.
I am on the right track with this? Or is there some dark mysterious coding secret that I am not privy to?
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.