WordPress.org

Ready to get started?Download WordPress

Forums

Creating a single page (4 posts)

  1. feras.allaou
    Member
    Posted 5 years ago #

    Dear Sirs,

    I was programming a new plug in for my blog , but I am facing a small problem .
    my plug in is a small details about current football match ! in the side bar and if the visitor wants more details he just click on a button which open a new page ! my problem is here ! how can I create a page ? and how can I link to it ? I think I have to create it and put it in my theme directory, right ? but then how can I link to it ?

    Waiting your kind reply.

    Best Regards
    Feras Allaou

  2. Roy
    Member
    Posted 5 years ago #

    "Write"->"page"
    ?
    And then just copy the "permalink" to use in your sidebar?

    Just a suggestion.

  3. feras.allaou
    Member
    Posted 5 years ago #

    well thank you very much , but do you think that each user , who is going to install my plug in will have the same "permalink" ?? :)

    Regards
    Feras

  4. feras.allaou
    Member
    Posted 5 years ago #

    well actually I did what I want using a strange way :) !
    I modified the wp-blog-header file ! and add a small code which make sure if the $_GET['mystring'] is set or no ! so if it's set it just stop the program and require a certain file in the theme directory else it continue with no problem .

    Thank you all .

    Regards
    Feras

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags