get_option( 'cats_image_rollover' ); } elseif ( 'enable' === $display_post_categories ) { $display_post_categories = true; } elseif ( 'disable' === $display_post_categories ) { $display_post_categories = false; } else { $display_post_categories = $cats_image_rollover; } // Check if Global Options are used as base or if there is an override for post title. if ( 'default' === $display_post_title ) { $display_post_title = fusion_library()->get_option( 'title_image_rollover' ); } elseif ( 'enable' === $display_post_title ) { $display_post_title = true; } elseif ( 'disable' === $display_post_title ) { $display_post_title = false; } else { $display_post_title = $title_image_rollover; } // Set the link and the link text on the link icon to a custom url if set in page options. if ( null != $link_icon_url ) { // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison $icon_permalink = $link_icon_url; $icon_permalink_title = esc_url_raw( $link_icon_url ); } else { $icon_permalink = $post_permalink; $icon_permalink_title = the_title_attribute( 'echo=0&post=' . $post_id ); } // Set the link target to blank if the option is set. $link_target = ( 'yes' === $link_icon_target || 'yes' === $post_links_target || ( 'avada_portfolio' === get_post_type() && $portfolio_link_icon_target ) ) ? ' target="_blank"' : ''; $options = ''; ?>