• I am using views to display a custom page type. The custom page type is designed using custom fields so that when the user clicks on the page link in the type, they are redirected to an article on an outside side. However, recently it started redirecting them to the page on our website which generates the link to the outside website. Any help appreciated.

    https://wordpress.org/plugins/types/

Viewing 1 replies (of 1 total)
  • Thread Starter cmcmillan0611

    (@cmcmillan0611)

    Here is the views loop output:

    [wpv-layout-start]
    [wpv-posts-found]
    <!-- wpv-loop-start -->
    <ul>
       <wpv-loop>
          <li>
            <div class="post-box">
              <div class="post-thumb"><a href="[wpv-post-url]">[wpv-post-featured-image size="full"]</a></div>
              <div class="post-content">
                <div class="related-link"><span class="post-date">[wpv-post-date] | </span><a href="<?php echo get_site_url();?>[types field="key-issues-url"][/types]">[types field="key-issues-title"][/types]</a></div>
                <div class="post-link"><a href="[wpv-post-url]">[wpv-post-title]<span class="readmore-arrow"> »</span></a></div>
                <div><span class="readmore"><a href="[wpv-post-url]">Read More</a></span></div>
              </div>
            </div>
          </li>
       </wpv-loop>
    </ul>
    <!-- wpv-loop-end -->
    [/wpv-posts-found]
    [wpv-no-posts-found][wpml-string context="wpv-views"]<strong>No posts found</strong>[/wpml-string][/wpv-no-posts-found]
    
    [wpv-filter-start hide="false"]
    [wpv-filter-controls][/wpv-filter-controls]
    [wpv-pagination]
    <p>[wpml-string context="wpv-views"]Showing page [wpv-pager-current-page style="drop_down"] of [wpv-pager-num-page][/wpml-string] [wpv-pager-prev-page][wpml-string context="wpv-views"]Previous[/wpml-string][/wpv-pager-prev-page] [wpv-pager-next-page][wpml-string context="wpv-views"]Next[/wpml-string][/wpv-pager-next-page]</p>
    [/wpv-pagination]
    [wpv-filter-end]
    
    [wpv-layout-end]

Viewing 1 replies (of 1 total)

The topic ‘Using Views for Custom Types with Custom Fields’ is closed to new replies.