Lifelesspeople.com

 Forum FAQsForum FAQs  Knowledge BaseKnowledge Base  RulesRules   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   HostingHosting   RegisterRegister 
 DonateDonate   WikiWiki   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to embed WEFT to WrodPress or Limbo?

 
Lifelesspeople.com Forum Index -> Help Wanted
Post new topic   Reply to topic View previous topic :: View next topic  
Author Message
kenoodo
Lifeless Person


Joined: 17 Jul 2005
Posts: 1092
Location: MengDai

PostPosted: Sun Jan 20, 2008 4:26 am    Post subject: How to embed WEFT to WrodPress or Limbo? Reply with quote

About a month ago my CMS crashed, and I am working on a new one now. Since I need to use some fonts that no OS could support them now, the only way is to use WEFT.

Last time, there were .html files to add the CSS code like this

Code:

<STYLE TYPE="text/css">
<!--
  @font-face {
    font-family: dehongdai;
    font-style:  normal;
    font-weight: normal;
    src: url(http://..../DEHONGD0.eot);
  }
  @font-face {
    font-family: xidai;
    font-style:  normal;
    font-weight: normal;
    src: url(http://..../XIDAI0.eot);
  }
-->
</STYLE>


But now I can not find any .html to add this cold in WordPress or Limbo, yeah, that's a big problem.

I even get .html.php files, but they are not like the .html I knew before, so, I have completely no idea what to do.

Any one works with WEFT? I need your help.
Back to top
 
Rashy
Lifeless Person


Joined: 25 Sep 2006
Posts: 680


PostPosted: Sun Jan 20, 2008 12:18 pm    Post subject: Reply with quote

I don't know about Limbo, but I think the best idea for Wordpress would be to place your code into your template header file. <<yourdomain.com>>/wp-content/themes/<<your-theme>>/header.php and just make sure you put it outside the <?php and ?> tags. I think the .html.php are valid .php files too, but in the themes I have made for wordpress the .html.php files aren't called for every page so I wouldn't put your code there.

Alternatively if it is only css then you could put it in your theme's main css file, located in the same directory as your header.php file.
_________________
Rashy!
Back to top
 
kenoodo
Lifeless Person


Joined: 17 Jul 2005
Posts: 1092
Location: MengDai

PostPosted: Thu Jan 24, 2008 5:01 am    Post subject: Reply with quote

Thanks Rashy, it works.

To make the posting WYSIWYG, I install tinymce-advanced plug-in and add these fonts into the \wp_includes\tinymce\thems\advanced\editor_temples.js.

It is looked nice now, just a litter more testing and I will make the WordPress my main posting board and make it more like a CMS.
Back to top
 
Display posts from previous:   
Post new topic   Reply to topic    Lifelesspeople.com Forum Index -> Help Wanted All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Home | Hosting | News | Forum | Links | System Status | About | Archive | Donate ]
Powered by phpBB © 2001, 2002 phpBB Group
All trademarks and copyrights on this page are owned by their respective owners. Posts and comments are owned by the poster. Everything else © 2001 - 2007 Lifelesspeople.com