[Nimble Wordpressテーマ](http://www.elegantthemes.com/demo/?theme=Nimble)を編集していて、メインページの[詳細]ボタンを編集して、ボタンが表示されるようにしようとしています。 「概要」サブページの特定のセクションへのユーザー。現在、ユーザーを3つの個別のサブページに移動します。理想的には、ユーザーを1つの「About」ページの特定のセクションに移動させます。Wordpressエディターで「About」ページのHTMLにアクセスできますが、アクセスできません。メインページのhtmlを見つけて、タグを変更します。テーマでは、eパネルを介してごくわずかな変更を加えることしかできません。すべてのバックエンドファイルは.phpベースであり、私はHTMLの知識しか持っておらず、PHPの知識は持っていません。任意の洞察をいただければ幸いです。ありがとう!
**ヒントをありがとう!3つの個別のリンクを指定できるようにPHPを変更する方法はありますか?ウィジェットごとに1つのリンク?**
<?php
if ( 'on' == et_get_option( 'nimble_display_services', 'on' ) ){
$blurbs_number = apply_filters( 'et_blurbs_number', 3 );
echo '<div id="services" class="clearfix">';
for ( $i = 1; $i <= $blurbs_number; $i++ ){
$service_query = new WP_Query( apply_filters( 'et_service_query_args', 'page_id=' . get_pageId( html_entity_decode( et_get_option( 'nimble_home_page_' . $i ) ) ), $i ) );
while ( $service_query->have_posts() ) : $service_query->the_post();
global $more;
$more = 0;
$page_title = ( $blurb_custom_title = get_post_meta( get_the_ID(), 'Blurbtitle', true ) ) && '' != $blurb_custom_title ? $blurb_custom_title : apply_filters( 'the_title', get_the_title() );
$page_permalink = ( $blurb_custom_permalink = get_post_meta( get_the_ID(), 'Blurblink', true ) ) && '' != $blurb_custom_permalink ? $blurb_custom_permalink : get_permalink();
echo '<div class="service' . ( 1 == $i ? ' first' : '' ) . ( $blurbs_number == $i ? ' last' : '' ) . '">';
if ( ( $page_icon = get_post_meta( get_the_ID(), 'Icon', true ) ) && '' != $page_icon )
printf( '<img src="%1$s" alt="%2$s" class="et_page_icon" />', esc_url( $page_icon ), esc_attr( $page_title ) );
echo '<h3>' . $page_title . '</h3>';
if ( has_excerpt() ) the_excerpt();
else the_content( '' );
echo '<a href="' . esc_url( $page_permalink ) . '" class="learn-more">' . __( 'Learn More', 'Nimble' ) . '</a>';
echo '</div> <!-- end .service -->';
endwhile;
wp_reset_postdata();
}
echo '</div> <!-- end #services -->';
}
?>