Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8709003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:15:38+00:00 2026-06-13T04:15:38+00:00

vSlider – in WordPress I’m using the function supplied in the FAQs: <?php if(function_exists(‘vslider’)){

  • 0

vSlider – in WordPress I’m using the function supplied in the FAQs:

<?php if(function_exists('vslider')){ vslider('vslider_options'); } ?>

And I’m trying to do this. So its knows to get the post-ID as its name. But its not working.

<?php if(function_exists('vslider')){ vslider('<?php the_ID(); ?>'); } ?>

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:15:39+00:00Added an answer on June 13, 2026 at 4:15 am

    You cannot nest <?php ?> inside an already open <?php ?>. That is unsupported and syntactically invalid. Just call the function in place.

    Apparently, the_ID() is one of those WordPress functions which prints to the output buffer without returning its value. To get the id returned where it can be useful in a function, use get_the_ID() instead.

    <?php if(function_exists('vslider')){ vslider(get_the_ID()); } ?>
    

    The syntax issue becomes more obvious when expressed as properly indented code.

    <?php 
    if (function_exists('vslider')){
      vslider(get_the_ID());
    }
    ?>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i'm using javascript with symfony 1.4 $(#annonc).change( function() { var _annonce = this.options[this.selectedIndex].value; ...........
I am trying to create a PHP function that will echo info from a
I have this Code: BindingUtils.bindProperty(trollImage, width, vslider, value); BindingUtils.bindProperty(trollImage, height, vslider, value); and the
From now on, I have this : ..... <a4j:commandButton action=#{ChoixContratBean.Submit1} reRender=suite value=valider > </a4j:commandButton>
I have this simple script: param([string[]]$to=markk, $subject=$null, $body=$null, $from=name, $suffix=@example.com, $server=dev-builder) function NormalizeAddress([string]$address) {
I'm using a form where I want to have the required field missing error
I am developping a web application by using the ASP .NET MVC 3 framework.
I try to create a query getting from a formular through post function. The
I have an input in my jsf page like this <html:inputText id=ResponseOK value=#{bean.ResponseOK} binding=#{bean.ResponseOKInput}
I'm trying to get the tilt angle, roll angle from my sensors from my

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.