Title: Whishlist shortcode problem
Last modified: April 20, 2018

---

# Whishlist shortcode problem

 *  Resolved [pl.xrisa](https://wordpress.org/support/users/xrisa30/)
 * (@xrisa30)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/whishlist-shortcode-problem/)
 * Hi,
 * I try to insert the wishlist shortcode in the woo category archives, between 
   product title and price.
 * I wrote:
    function wishlist() { echo do_shortcode(‘[ti_wishlists_addtowishlist]’);}
   add_action( ‘ocean_before_archive_product_inner’, ‘wishlist’, );
 * and I tried these too:
    ocean_after_archive_product_title ocean_after_archive_product_inner
   etc…
 * and I tried different priorities too, but everytime the heart icon displays in
   front of the image, right and top.
 * Why is this happening and how to solve it?
 * Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/whishlist-shortcode-problem/#post-10202623)
 * Hello, it is CSS code, can you show me your site url where you want to do this?
 *  Thread Starter [pl.xrisa](https://wordpress.org/support/users/xrisa30/)
 * (@xrisa30)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/whishlist-shortcode-problem/#post-10203924)
 * Hi, thank you very much but the site is localhost.
    However, I know how to fix
   it with css.
 * I just wondering why the functions codes above, don’t respect my choise for the
   position and displays the wishlist icon at the top everytime.
 * So, the only way to solve it is via css?
 *  Theme Author [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * (@oceanwp)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/whishlist-shortcode-problem/#post-10204915)
 * Hi, yes because the heart icon is in absolute position, if you add it in relative,
   that should fix the issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Whishlist shortcode problem’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/oceanwp/4.1.5/screenshot.png)
 * OceanWP
 * [Support Threads](https://wordpress.org/support/theme/oceanwp/)
 * [Active Topics](https://wordpress.org/support/theme/oceanwp/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/oceanwp/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/oceanwp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [oceanwp](https://wordpress.org/support/users/oceanwp/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/whishlist-shortcode-problem/#post-10204915)
 * Status: resolved