Results 1 to 1 of 1

Thread: Where is this php string defined? <?php cp_get_image_url(); ?>

  1. #1
    Thread Starter
    Member naturalrabbitfood's Avatar
    Join Date
    Jan 2012
    Location
    United States
    Posts
    60
    Thanks
    7
    Thanked 1 Time in 1 Post

    Where is this php string defined? <?php cp_get_image_url(); ?>

    I'm looking to write a php string that grabs the url of the ad image but without returning it in a format that displays the image & embeded link.

    For example, this:
    <?php cp_get_image_url(); ?>

    returns the html as this :
    <a href="some-image/188560-500x373.jpg" class="img-main" data-rel="colorbox"><img src="the-same-image//188560-200x150.jpg" title="test 3" alt="test 3" /></a>

    My goal is to just grab the url and not the html formatting. Do I need to redefine <?php cp_get_image_url(); ?> or can I write a new string? I fully understand html/css but am now just beginning to learn php so any help is greatly appreciated!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Dimitris Pre-defined search page
    By fozz2k in forum Help Using Vantage (Legacy)
    Replies: 2
    Last Post: July 1st, 2013, 05:50 PM
  2. No Ad Pack Defined.
    By cyclebarter in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: April 6th, 2012, 06:00 PM
  3. ad pack has not been defined
    By jamyten in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: March 30th, 2012, 12:30 AM
  4. [SOLVED] Error: no ad pack has been defined.
    By nasour in forum Report ClassiPress Bugs
    Replies: 36
    Last Post: February 19th, 2012, 10:52 AM
  5. Error: no ad pack has been defined 3.1.7
    By manolake07 in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: February 16th, 2012, 08:04 AM