Author Topic: Saragota and Wordpress  (Read 807 times)

0 Members and 1 Guest are viewing this topic.

Offline jalmz

  • Senior Member
  • **
  • Posts: 60
    • BiliranIsland.com
Saragota and Wordpress
« on: September 21, 2016, 02:27:24 AM »
Can I include the saragota template to my wordpress site? without using html frame.

just want to use using php include.

Offline steven west

  • Member
  • *
  • Posts: 35
    • Potts Point Weather
Re: Saragota and Wordpress
« Reply #1 on: September 21, 2016, 07:33:51 AM »
Potts Point - Sydney - Australia
WS2310 - 1Wire - Windows 10

Offline saratogaWX

  • Administrator
  • Forecaster
  • *****
  • Posts: 9288
  • Saratoga, CA, USA Weather - free PHP scripts
    • Saratoga-Weather.org
Re: Saragota and Wordpress
« Reply #2 on: September 21, 2016, 12:13:43 PM »
That usage was adding a blog to a Saratoga template site and that can be done fairly easily.

If WordPress is your primary site, then adding Saratoga template stuff via direct include (not iframe) can also be done, but it is much more tricky.  You'll need a plugin in WordPress that allows you to run native PHP code (like Insert PHP).  Then you can add various things to posts/pages on your WordPress site.

You may have to adapt some Saratoga scripts (like adding an include for Settings.php and common.php ) to make them work without the normal wx....php page infrastructure.

Scripts from Saratoga designed to run standalone (like the forecast scripts, etc) can likely be used via Insert PHP in a page with only customization of the inner settings in the script.

Hope this helps...

Best regards,
Ken
Ken True/Saratoga, CA, USA main site: saratoga-weather.org
Davis VP1+ FARS, Blitzortung RED, GRLevel3, WD, WL, VWS, Cumulus, Meteobridge
Free weather PHP scripts/website templates - update notifications on Twitter saratogaWXPHP

Offline jalmz

  • Senior Member
  • **
  • Posts: 60
    • BiliranIsland.com
Re: Saragota and Wordpress
« Reply #3 on: September 21, 2016, 12:57:14 PM »
Thank you Ken

 

anything