Support » Theme: Minamaze » How can I link a featured area to a post and not to a page?

  • I am trying to link the featured areas to specific posts, it would be great if they auto updated to the most recent posts I had made. Is this possible?

Viewing 5 replies - 1 through 5 (of 5 total)
  • I would also like an answer to this,I would like to link to a category.

    dev.davidehoward.com

    I would also like to know this, but I want to link to a category.

    bump

    I’m a brand-newbie, but if I’m understanding the question correctly, I think I know the answer. In the Theme Options / Homepage (Content) tab: Content Area 1 I first went to my website and did a search for the Visual Quick Tips. Then I copied that URL and put that in the “Link to a custom page” box. As far as I can tell, it adds any new content because it’s included in the search.
    http://www.focalpointers.com

    leonkokseng

    (@leonkokseng)

    U could modify ur theme at the backend
    That’s what I figure out to link it to an url despite of selecting a ‘page’

    It’s not straight forward, u have to modify the php file in your web hosting as following

    /wp-content/themes/minamaze/admin/main/options/02.homepage.php Line 248-251

    // Get page names for links
    if ( !empty( $thinkup_homepage_section1_link ) ) $thinkup_homepage_section1_link = get_permalink( $thinkup_homepage_section1_link );
    if ( !empty( $thinkup_homepage_section2_link ) ) $thinkup_homepage_section2_link = get_permalink( $thinkup_homepage_section2_link );
    if ( !empty( $thinkup_homepage_section3_link ) ) $thinkup_homepage_section3_link = get_permalink( $thinkup_homepage_section3_link );

    to

    // Get url for links
    if ( !empty( $thinkup_homepage_section1_link ) ) $thinkup_homepage_section1_link = esc_url( $thinkup_homepage_section1_link );
    if ( !empty( $thinkup_homepage_section2_link ) ) $thinkup_homepage_section2_link = esc_url( $thinkup_homepage_section2_link );
    if ( !empty( $thinkup_homepage_section3_link ) ) $thinkup_homepage_section3_link = esc_url( $thinkup_homepage_section3_link );

    AND

    /wp-content/themes/minamaze/admin/main/options.php Line 654-655

    array(
    'id'=>'thinkup_homepage_section1_link',
    'desc' => __('Link to a page', 'redux-framework'),
    'type' => 'select',
    'data' => 'pages',
    'fold' => array('thinkup_homepage_sectionswitch'=>1),
    ),

    into

    array(
    'id'=>'thinkup_homepage_section1_link',
    'desc' => __('Link to a page', 'redux-framework'),
    'type' => 'text',
    'validate' => 'url',
    'fold' => array('thinkup_homepage_sectionswitch'=>1),

    Feel free to email me if u are not understand leonkokseng@gmail.com 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How can I link a featured area to a post and not to a page?’ is closed to new replies.