Post edited 11:40 am – 24 September, 2009 by vagrantmonkey
In the design I am working on I need a way to call just the URL for the latest sermon on my homepage. I am already using the widget code elsewhere, but here I need just the URL to add as the href in my footer. A URL for the current series would also be great.
Unfortunately there's no way to do this at the moment. You can use a function to give you the name of the latest sermon, that is linked to the correct page, but you can't get just the URL, sorry.
Thanks for adding that in. I may have negated my ability to use it by mucking about with the widget, but I'll give it a shot. I see your point regarding the current series. I'll have to think about that one. Isolating a specific series would still be useful though.
I went to your site and i really like how you have the search area layed out. Would you be willing to post the code for that? It would be a great help if so. Thanks!
Sorry it took so long to get back to you on this. In order to set this up you need to directly edit the "frontend.php" file found inside the sermon browser plugin. Make sure you create a copy of both the original file AND your edited file. That way if you update the plugin you have away to recover these changes.
The code below should replace the "mainFilter" div that starts at line 941 in the original file. All I have really done is rearrange the table and take out some filters I didn't need at this time.
As last note before the code, if you are looking for the graphical look of the code as adjusted by the CSS I can post that separately, but this is the biggest change.
As for some of the CSS, I had to narrow the display of the fields a bit. I changed the CSS code in the Sermon Browser Template (via the admin page). the relevant code is below: