href link in PHP array
-
Can anyone help me please?
I am trying to create a landing page for my main website, I wanted to link an array which contains an image and a text to a different page.
Here are the codes:
<a href="http://www.excelledia.com"> <?php $featured_items = wp_kses_post(variantlp_four_get_option('vlp_featured_items')); $feature_dummy_content = array( array('vlp_fa_image' => VARIANTLP_DIR_URI . 'assets/imgs/img_thumb1.jpg' . 'href=http://www.excelledia.com', 'vlp_fa_description' => __('Environmental Management System', 'variant-landing-page-four')); ?></a>The codes on my website has three arrays and I wanted to make a separate links for each array. I am not that familiar with PHP.
The landing page that i’m currently working on is not yet uploaded online (still in localhost)
The topic ‘href link in PHP array’ is closed to new replies.