Help Desk

Documentation

  • Posts: 28 Topics: 7 Answers: 2
    | Permalink

    Hey guys,

    Thanks for the documentation, but I would like to ask this:
    Please give us examples… (or am I missing something somewhere?). Examples for the non-php experts amongst us. So for example:
    – how to load a specific event on a specific page? (please don’t just explain, but give us an example code).
    – How to show filtered events?
    – etc

    I am already spending way to much time to figure out simple stuff, by searching this forum and the WordPress forum and Googling for solutions. It would be so much easier if it would come with the documentation > you would help us out a lot!

    Posts: 28 Topics: 7 Answers: 2
    | Permalink

    Also, how do a call a specific custom field? (not all af them at once)

    Posts: 4278 Topics: 105 Answers: 467
    | Permalink

    Thanks for the suggestions, Tineke. I’m a non-php expert myself so I could certainly put together that first bit of documentation. What you’ve noted here is great though – I think this will probably be split between FAQs, documentation and help videos…but I’ll spend some time the next few days putting these together and will publish them as I do. Won’t be immediate or all at once but these give me a good starting point and I’d love to hear what else you think would be valuable.

    Posts: 28 Topics: 7 Answers: 2
    | Permalink

    Hey Rob, I am bumping into many things… Some of them I figured out.
    Example:

    – Couldn’t found out how to call a specific custom field. Figured out I could do it with this at my custom made page:

    Social Media
    <a href="ID, $key, true); ?>” rel=”bookmark”>ID, $key, true); ?>
    <a href="ID, $key, true); ?>” rel=”bookmark”>ID, $key, true); ?>

    Sponsors
    <a href="ID, $key, true); ?>” rel=”bookmark”>ID, $key, true); ?>
    <a href="ID, $key, true); ?>” rel=”bookmark”>ID, $key, true); ?>
    <a href="ID, $key, true); ?>” rel=”bookmark”>ID, $key, true); ?>

    But then, the same code didn’t work on single.php . It took me a while to figure out I needed to change $post->ID into $ID and ad

    So I got this:

    Social Media

    <a href="” rel=”bookmark”>
    <a href="” rel=”bookmark”>

    Sponsors
    <a href="” rel=”bookmark”>
    <a href="” rel=”bookmark”>
    <a href="” rel=”bookmark”>

    Now it works 🙂 Took me a long while tho. Of course I noticed it had to do with my lack of knowledge about custom fields. Same with Custom Post types. That’s why an example like this would be nice.

    Other problem:
    I want to add a line up to my events, including Artist profiles.
    Right now I ‘solved’ it by making Custom Post with a category artists. I tagged those artists with the name of the event and at 1 of my pages I can make them show up by adding a query. (example: http://www.hubbicle.in-town.nl/spoiled/)
    But it’s a temporary solution because the moment I have another event, with other artists I will have a problem.
    So, in this case I would like to see an example of how to connect a custom post.

    Do you guys have a Dropbox? I might be able to put some code there that I already had figured out. Don’t want to put it online myself, since I don’t know if what I’m doing is exactly right.