WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: MyCourses] Shotcode (9 posts)

  1. datta74
    Member
    Posted 4 years ago #

    Hi

    Can anyone help me to get this working and give me the shortcode...

    would be appriciated.

    cheers

    http://wordpress.org/extend/plugins/mycourses/

  2. MichaelH
    Member
    Posted 4 years ago #

    Doesn't look like there is a shortcode for that. That plugin has a sample-template.php script that has an example for listing courses.

  3. datta74
    Member
    Posted 4 years ago #

    Hey Thanks

    I have had a look at the sample-templet.php what does one do with this. Sorry for the basic question its my first blog.

    Thanks for all the help

    [moderated--bump removed. Please refrain from bumping as per Forum Rules]

  4. MichaelH
    Member
    Posted 4 years ago #

    You'll need to decide how/where you are going to present that information. With the help of the Template Hierarchy article, determine what Template will display your courses then create/edit that template.

    Related:
    Stepping Into Template Tags
    Stepping Into Templates

  5. Brad Touesnard
    Member
    Posted 4 years ago #

    Yes, sorry about this. The next version of the plugin will have a short code. Unfortunately I'm not sure when I will have time to put another version out there.

  6. datta74
    Member
    Posted 4 years ago #

    Thanks Brad,

    How does one use this one till then. Sorry I am new

  7. MichaelH
    Member
    Posted 4 years ago #

    How does one use this one till then

    A shortcode typically means you want to display something in each and every post. If that is the cases then themes typically display posts in their index.php template.

    With that said, you should review the comments above for info about templates and template hierarchy.

  8. datta74
    Member
    Posted 4 years ago #

    Thanks Michael

    I have been trying without success...new to it..sorry to harrow.

    cheers

  9. MichaelH
    Member
    Posted 4 years ago #

    No apologies necessary, but if you are going to modify themes and introduce coding and such, you will want to be conversant with the underlying principals of templates and template hierarchy.

    And as I stated before "You'll need to decide how/where you are going to present that information." Meaning under what conditions are you displaying course info, and where in your blog are you displaying that info.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags