• hi there, is there someone that could write a plugin for events?/
    ive made the html for it but ... thats it … the php code is a mistery for me so … here`s the html code

    <html>
    <head>
    <title>
    </title>
    <style type="text/css">
    h1 {border-bottom-style: solid;
        font-size: 130%;
        font-family: arial;
        text-decoration: none;
        color: #ffffff;
    	background-color:#CC3333;
    	text-indent: 10px}
    h2 {font-size: 100%;
        font-family: arial;
        text-decoration: none;
        color: #000000;
    	background-color:none;
    	text-indent: 15px}
    p {text-indent: 5px}
    </style>
    
    </head>
    <body>
        <!--first event-->
    <table border="0" width="500" noresize>
    <tr>
    <td width="200">
    <img src="1.jpg" width="200" height="284" border="0">
    </td>
    <td width="300" valign="top" bgcolor="cccccc">
    <!--event title - 22 de caractere -->
    <h1>event title</h1>
    <h2>Artists</h2>
    <p>
    event description
    </p>
    </td>
    </tr>
    </table>
    <!--second event-->
    <table border="0" width="500" noresize>
    <tr>
    <td width="200">
    <img src="1.jpg" border="0">
    </td>
    <td width="300" valign="top" bgcolor="cccccc">
    <!--event title - 22 de caractere -->
    <h1>event title</h1>
    <h2>Artists</h2>
    <p>
    event description
    </p>
    </td>
    </tr>
    </table>
    </body>
    </html>

Viewing 11 replies - 1 through 11 (of 11 total)
  • What about an existing plugin?

    http://wordpress.org/extend/plugins/tags/calendar

    Thread Starter betzy

    (@betzy)

    mneah … ive know about them, but they dont do the job i need to display my events in a page like this http://mainevents.ro/events.html

    Betsy why not just make an events category and then an events category template and rock that? You create the category,remember the id and then copy page.php or the index.php file and then upload it to your theme folder and call it category1.php(or whatever the the id is).
    It’s a snap.
    Also, for what you want to emulate–tables aren’t at all necessary! any free theme will format a page like the one you want.

    Thread Starter betzy

    (@betzy)

    i didnt understand anything, how do i make the events category template, im not so advanced in wordpress, but if u say i can do it is shel 😛

    Thread Starter betzy

    (@betzy)

    well i`ve tried but .. nothing … :(((((

    create a new category. In the admin, when you then edit the events category you just created, you’ll see a the address is yourdomain/wp-admin/categories.php?action=edit&cat_ID=X, where X is the ID of your category.

    So, now you create a file called category-x.php in your theme directory. I find it easiest to make a copy of index.php and edit it so that it looks like I want it to.

    This means, you can fiddle with the way the loop outputs your info, and it’ll only be that one category that will look like that.

    Thread Starter betzy

    (@betzy)

    does someone here use branford magazine theme ??

    Thread Starter betzy

    (@betzy)

    ok .. finaly ive manage tu customize the single.php ... and ive renamed evets.php … what do i have to do next how do i implement into a new page ??

    Thread Starter betzy

    (@betzy)

    ok .. finaly i get it … it’s verry verry easy …. 10x a lot guys for the ideas
    @mccormicky u did not say it’s enough to rename and cutomize the archive.php and the wordpress will do the rest … tzz tzz any way 10x for the idea

    @mores many 10x to u too

    so guys …. it’s so f@#kin easy
    PS: it took me 3 days to do it … i mean … 3 days and nothing .. and just a few seconds i`ve done everything

    topic solved

    It takes a while to get into the whole template customizing thing … don’t sweat it.

    @mccormicky u did not say it’s enough to rename and cutomize the archive.php and the wordpress will do the rest … tzz tzz any way 10x for the idea

    I don’t ever rename files if I want a category template. creating a category in Manage> Categories >Add new
    then getting the id

    and then creating a template by copying index.php into a new blank text file then naming it category-1234.php

    and then uploading it to your theme folder will make wordpress use this template to show only posts for the events category if your category id is 1234.

    which it won’t be.

    Unless I am psychic!
    Then each time you write a post about an event and you select the Events category, WordPress will look for category-1234.php to show these posts. Only Events category posts will be shown.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘can some one write a plugin for events ?’ is closed to new replies.