• Resolved ar3s

    (@ar3s)


    Howdy,

    Just trying to make my own custom pages within WordPress – instead of having seperate pages outside of them..
    My website is https://www.ar3s.com, and i want to have the sidebar, header etc functions able to work in these pages (webdesign, artwork, etc).. is this possible?
    any help would be greatly appreciated. ??
    email me at [email protected] (i also use this for MSN messenger)

Viewing 6 replies - 1 through 6 (of 6 total)
  • Please read through the information in the codex. There are instructions on how to create custom Page templates

    https://codex.www.ads-software.com/Pages#Page_Templates

    Thread Starter ar3s

    (@ar3s)

    Okay, thanks ??
    I think i did it correctly, however i went to create a new page this code:

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="640" height="400" title="thingthing2">
    <param name="movie" value="games/game.swf" />
    <param name="quality" value="high" />
    <embed src="games/game.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="400"></embed>
    </object>

    it worked properly, however nothing came up – https://www.ar3s.com/wordpress/?page_id=11

    Please use full paths to the flash files.

    I am guessing your flash file is not being displayed since the paths are relative right now, and the path that wordpress is assuming is not the same as where the flash file itself resides on your server ..

    Thread Starter ar3s

    (@ar3s)

    Hmm… I dont think that I’m entering the flash file script properly..
    Heres a link the file I want to play in this page:
    https://ar3s.com/wordpress/wp-content/themes/ar3s/games/game.swf
    would anyone have experience with embedding flash files?

    also, heres a link to the template file (may be something wrong with it):
    https://ar3s.com/wordpress/wp-content/themes/ar3s/games.php

    I tried using the simple
    <embed src="https://ar3s.com/wordpress/wp-content/themes/ar3s/games/game.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="400"></embed>

    ..which didnt work
    I went to edit it and it completely removed all of the code..

    Thanks for your help so far ??

    You should still use the entire <object> embed code to inser the flash file.

    The path you are using to the flash file seems to be correct.

    Try using the full code, and not just the <embed> stuff ..

    If that doesn’t work, post back and we can see what else could be wrong ..

    Thread Starter ar3s

    (@ar3s)

    I put this into the code:
    <table><td>
    A cool game called "Thing Thing 2"<br/>
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="640" height="400">
    <param name="movie" value="https://ar3s.com/wordpress/wp-content/themes/ar3s/games/game.swf" />
    <param name="quality" value="high" />
    <embed src="https://ar3s.com/wordpress/wp-content/themes/ar3s/games/game.swf" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="640" height="400"></embed>
    </object>

    </td></table>

    …and when it didnt work, i hit edit, and came back with:

    <table>
    <tr>
    <td>A cool game called "Thing Thing 2"
    <object width="640" height="400" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">
    <param value="https://ar3s.com/wordpress/wp-content/themes/ar3s/games/game.swf" name="movie" />
    <param value="high" name="quality" /></object></td>
    </tr>
    </table>

    EDIT: Holy crap! it opens properly in IE

    Now to get it to open in FireFox >_<

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Use get_header() and get_footer() commands in custom page?’ is closed to new replies.