sss
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
8 changed files
with
24 additions
and
8 deletions
| ... | @@ -49,14 +49,18 @@ $wrapper_id = 'full-width-page-wrapper'; | ... | @@ -49,14 +49,18 @@ $wrapper_id = 'full-width-page-wrapper'; |
| 49 | 49 | ||
| 50 | <h3>Search Result for : <?php echo htmlentities($s, ENT_QUOTES, 'UTF-8'); ?> </h3> | 50 | <h3>Search Result for : <?php echo htmlentities($s, ENT_QUOTES, 'UTF-8'); ?> </h3> |
| 51 | <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> | 51 | <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> |
| 52 | <?php | ||
| 53 | $link = get_the_permalink($post->ID); | ||
| 54 | $target =""; | ||
| 55 | $resources_link = get_post_meta( $post->ID, 'resources_link', true); | ||
| 56 | if($resources_link !="" ){ | ||
| 57 | $link = $resources_link; | ||
| 58 | $target = "target='_blank'"; | ||
| 59 | } ?> | ||
| 52 | <div id="post-<?php the_ID(); ?>" class="posts"> | 60 | <div id="post-<?php the_ID(); ?>" class="posts"> |
| 53 | <article> | 61 | <article> |
| 54 | <h4><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a></h4> | 62 | <h4><a href="<?php echo $link; ?>" <?php echo $target;?> title="<?php the_title(); ?>"><?php the_title(); ?></a></h4> |
| 55 | <p><?php the_excerpt(); ?></p> | 63 | <p><?php the_excerpt(); ?></p> |
| 56 | <p align="right"><a href="<?php the_permalink(); ?>">Read More</a></p> | ||
| 57 | <span class="post-meta"> Post By <?php the_author(); ?> | ||
| 58 | | Date : <?php echo date('j F Y'); ?></span> | ||
| 59 | |||
| 60 | </article><!-- #post --> | 64 | </article><!-- #post --> |
| 61 | </div> | 65 | </div> |
| 62 | <?php endwhile; ?> | 66 | <?php endwhile; ?> | ... | ... |
| ... | @@ -14755,6 +14755,10 @@ a.skip-link:focus { | ... | @@ -14755,6 +14755,10 @@ a.skip-link:focus { |
| 14755 | opacity: 1; | 14755 | opacity: 1; |
| 14756 | } | 14756 | } |
| 14757 | 14757 | ||
| 14758 | .search-results .understrap-read-more-link { | ||
| 14759 | display: none !important; | ||
| 14760 | } | ||
| 14761 | |||
| 14758 | .pre-header { | 14762 | .pre-header { |
| 14759 | background-color: #0484b8; | 14763 | background-color: #0484b8; |
| 14760 | color: #fff; | 14764 | color: #fff; |
| ... | @@ -15246,6 +15250,7 @@ a.skip-link:focus { | ... | @@ -15246,6 +15250,7 @@ a.skip-link:focus { |
| 15246 | } | 15250 | } |
| 15247 | 15251 | ||
| 15248 | #main-menu .hide-on-main { | 15252 | #main-menu .hide-on-main { |
| 15253 | text-transform: uppercase; | ||
| 15249 | display: none; | 15254 | display: none; |
| 15250 | visibility: hidden; | 15255 | visibility: hidden; |
| 15251 | } | 15256 | } | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -278,3 +278,9 @@ a.skip-link{ | ... | @@ -278,3 +278,9 @@ a.skip-link{ |
| 278 | a.skip-link:focus{ | 278 | a.skip-link:focus{ |
| 279 | opacity:1; | 279 | opacity:1; |
| 280 | } | 280 | } |
| 281 | |||
| 282 | .search-results{ | ||
| 283 | .understrap-read-more-link{ | ||
| 284 | display: none !important; | ||
| 285 | } | ||
| 286 | } | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| ... | @@ -488,6 +488,7 @@ max-width: unset !important; | ... | @@ -488,6 +488,7 @@ max-width: unset !important; |
| 488 | #main-menu{ | 488 | #main-menu{ |
| 489 | .hide-on-main | 489 | .hide-on-main |
| 490 | { | 490 | { |
| 491 | text-transform: uppercase; | ||
| 491 | display: none; | 492 | display: none; |
| 492 | visibility: hidden; | 493 | visibility: hidden; |
| 493 | @media only screen and (max-width: 768px) { | 494 | @media only screen and (max-width: 768px) { | ... | ... |
| ... | @@ -28,7 +28,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : | ... | @@ -28,7 +28,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : |
| 28 | 28 | ||
| 29 | <div class="u-column1 col-md-<?php echo (int) $col; ?>"> | 29 | <div class="u-column1 col-md-<?php echo (int) $col; ?>"> |
| 30 | 30 | ||
| 31 | <h2><?php esc_html_e( 'Login', 'woocommerce' ); ?></h2> | 31 | <h2><?php esc_html_e( 'Log In', 'woocommerce' ); ?></h2> |
| 32 | 32 | ||
| 33 | <form class="woocommerce-form woocommerce-form-login login" method="post"> | 33 | <form class="woocommerce-form woocommerce-form-login login" method="post"> |
| 34 | 34 | ||
| ... | @@ -66,7 +66,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : | ... | @@ -66,7 +66,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : |
| 66 | 66 | ||
| 67 | <div class="u-column2 col-md-6"> | 67 | <div class="u-column2 col-md-6"> |
| 68 | 68 | ||
| 69 | <h2><?php esc_html_e( 'Register', 'woocommerce' ); ?></h2> | 69 | <h2><?php esc_html_e( 'Sign Up', 'woocommerce' ); ?></h2> |
| 70 | 70 | ||
| 71 | <form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> > | 71 | <form method="post" class="woocommerce-form woocommerce-form-register register" <?php do_action( 'woocommerce_register_form_tag' ); ?> > |
| 72 | 72 | ||
| ... | @@ -103,7 +103,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : | ... | @@ -103,7 +103,7 @@ $col = 'yes' === get_option( 'woocommerce_enable_myaccount_registration' ) ? 6 : |
| 103 | 103 | ||
| 104 | <p class="woocommerce-form-row form-row"> | 104 | <p class="woocommerce-form-row form-row"> |
| 105 | <?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?> | 105 | <?php wp_nonce_field( 'woocommerce-register', 'woocommerce-register-nonce' ); ?> |
| 106 | <button type="submit" class="woocommerce-form-register__submit btn btn-outline-primary" name="register" value="<?php esc_attr_e( 'Register', 'woocommerce' ); ?>"><?php esc_html_e( 'Register', 'woocommerce' ); ?></button> | 106 | <button type="submit" class="woocommerce-form-register__submit btn btn-outline-primary" name="register" value="<?php esc_attr_e( 'Register', 'woocommerce' ); ?>"><?php esc_html_e( 'Sign Up', 'woocommerce' ); ?></button> |
| 107 | </p> | 107 | </p> |
| 108 | 108 | ||
| 109 | <?php do_action( 'woocommerce_register_form_end' ); ?> | 109 | <?php do_action( 'woocommerce_register_form_end' ); ?> | ... | ... |
-
Please register or sign in to post a comment