Josh Leuze on "[Plugin: Meteor Slides] Where to put Meteor Slide code in TwentyTen header.php"

ساخت وبلاگ

sculpturepup
Member
Posted 23 hours ago #

Hi - I've installed the Meteor Slides plugin and watched the video. However, in the video the code in Header.php seems quite different - and as a newbie I'm not very confident about where to put the code [and what I delete] to get the slides working in my theme header.

many thanks for your help

http://new.animalstudies.org.au/

https://wordpress.org/plugins/meteor-slides/

Hi, I have a copy of the header.php file on Github which adds a slideshow header to Twenty Ten on the homepage.

Make sue you use a child theme for that new header.php file so you can still update the Twenty Ten theme.

sculpturepup
Member
Posted 5 hours ago #

Thanks for your speedy reply Josh,

I tried the code from Github and then the code from the Slide settings in the exact place shown and my site disappeared.

what am I doing wrong?

cheers

Are you using a child theme, or did you overwrite the header.php file in Twenty Ten itself?

sculpturepup
Member
Posted 5 hours ago #

I over wrote the header.php file - [I don't have access to do a childtheme] - I was hoping to be able to just add the code each time I upgrade WordPress. Doesn't it work on the main header.php?

It does, but it's not the ideal way to do it.

I updated the header.php file on Github with the latest version from Twenty Ten, that might fix the problem.

sculpturepup
Member
Posted 3 hours ago #

Great thanks - I'll give that a try.

sculpturepup
Member
Posted 3 hours ago #

No, I tried a few things - cutting text from Github into text editor before pasting, cutting and pasting directly from Github, typing myself ... end result for each - site doesn't load anymore. Is it time for me to give up? I wish TwentyTen just had this functionality built in - it's the only thing left to try and do before we go live.

This should work, I just tested that header.php file and it worked for me. If you want to send me a login I can take a closer look.

sculpturepup
Member
Posted 19 minutes ago #

Okay - have just done this - it should have automatically sent you an email.

sculpturepup
Member
Posted 14 minutes ago #

sorry just made you administrator

I received an email and logged in, but my user account needs to be an admin to access the slideshow settings.

sculpturepup
Member
Posted 10 minutes ago #

is it working now - sorry I realised that at the same time

No worries, I updated the header.php file for Twenty Ten and the homepage header is using the slideshow now:
http://new.animalstudies.org.au/

The inner pages use the standard header image functionality.

sculpturepup
Member
Posted 4 minutes ago #

fantastic -

should I take a copy of the header.php into texteditor for upgrades?

Also - just a query - why does it only work on the homepage?

Thanks so much - the best support ever!

It wouldn't hurt to have a back up, but you can grab a new copy of this header file from Github.

The header file is setup with a conditional tag that loads the slideshow in the homepage, that's how most people want it. But you could definitely heave the slideshow on each page.

sculpturepup
Member
Posted 15 seconds ago #

oh yes! if I can implore you for one more favour - how do I make it work on everypage? what should I remove?

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 201 تاريخ : جمعه 14 خرداد 1395 ساعت: 11:28