Support » Theme: Lupercalia » Pages added

  • Resolved george_castro

    (@george_castro)


    When i add a page, where does it get stored?

    Like when i had to create a static page to be the front page. Where is this page? In which directory?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Theme Author José Leonardo

    (@joseleonardo)

    I didn’t understand your question.

    It is not save in a directory, it is on the database…

    I asked this because i’m trying to use some jquery scripts but i can’t configure them.
    I’m trying to edit one page i’ve created to work with HTML and jquery, but when i have to call the scripts, i’m getting an error.

    Ex.:

    <link rel=”stylesheet” href=”./examples/standard/css/vendor/normalize.css”>
    <link rel=”stylesheet” href=”./dist/gallery.prefixed.css”>
    <link rel=”stylesheet” href=”./dist/gallery.theme.css”>

    I just wanted to know the path so i could write it correctly. I know it’s kinda confusing, i’m sorry hahaha

    Theme Author José Leonardo

    (@joseleonardo)

    if I understand your question very well, it is not recommend to declare js and css file directly inside your pages, you should you a hook for that: wp_enqueue_script and wp_enqueue_style.

    hm, understood. thanks

    Acctually, what i’m trying to do is to create a slider that works with an instagram API shortcode. That is why i’ve used those css calls above.
    The slider is pure css and HTML. The jquery part is from the instagram API (spectragram)

    Theme Author José Leonardo

    (@joseleonardo)

    You can try to use a plugin, I am not sure if there is any plugin which does that.

    If you are trying to do it manually, you have to do just like I said, using the hook.

    Anyway it it not related with the theme.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Pages added’ is closed to new replies.