Giri
Forum Replies Created
-
AuthorPosts
-
you need full width image. So it has 100% width. If you are using 100% width, you must use auto height.
If you don’t want to crop thumbnails visit
Settings -> Media
section
Hi there,
can you post your wp admin login details? I’ll apply the fix.
Thanks
Replace the code posted by kc, with this code
add_filter( 'the_content', 'dt_the_content_filter', 1 ); function dt_the_content_filter( $content ) { if ( is_singular( 'post') ) { $thumb = '<div class="thumb-banner">'.get_the_post_thumbnail().'</div>'; $content = $thumb.$content; } // Returns the content. return $content; }
Now add this css to GD custom css setting
.thumb-banner img { width: 100% !important; display: block; }
Yelp actually changed their profile page design. If you would like to customize whoop profile page look like current yelp profile page, then it requires some heavy coding.
Its better you hire someone from our jobs section since its not possible without good developer.
Good luck
You are welcome 🙂
Ok thanks
Ok I have fixed it.
I think your recurring events ends in Thursday. But you mentioned friday in screenshot.
Please test it.Thanks
Ok Thanks
Sorry yvettie86, Somehow I missed this thread.
Can you post your ftp details?
Follow these steps.
1) Paste the following code in your child theme’s functions.php file.
function gdcpt_geodir_link_business_id($id, $post_type) { if (geodir_is_page('add-listing') && $post_type == 'gd_offer' && !isset( $_REQUEST['pid'] )) { if (!is_user_logged_in()) { return $id; } $query_args = array( 'posts_per_page' => 1, 'is_geodir_loop' => true, 'post_type' => 'gd_place' ); add_filter('geodir_filter_widget_listings_where', 'gdcpt_get_user_link_biz_id', 1); $widget_listings = geodir_get_widget_listings($query_args); remove_filter('geodir_filter_widget_listings_where', 'gdcpt_get_user_link_biz_id', 1); if (!empty($widget_listings)) { foreach ($widget_listings as $post) { $id = $post->ID; } } } return $id; } add_filter('geodir_cpt_link_business_id', 'gdcpt_geodir_link_business_id', 10, 2); function gdcpt_get_user_link_biz_id($where) { global $wpdb; $user_id = get_current_user_id(); $where .= " AND $wpdb->posts.post_author = $user_id "; return $where; } function gdcpt_geodir_link_business_add_js() { global $post; $package_info = array(); $package_info = geodir_post_package_info( $package_info , $post ); if (geodir_is_page('add-listing') && $package_info->post_type == 'gd_offer' && !isset( $_REQUEST['pid'] )) { ?> <script type="text/javascript"> jQuery(document).ready(function(){ jQuery('#geodir_link_cpt_business_autofill').click(); }); </script> <?php } } add_action('wp_footer', 'gdcpt_geodir_link_business_add_js');
2) Edit this file
/wp-content/plugins/geodir_custom_posts/geodir_cpt_link_business.php
Around line 147, you will see these lines
if(isset($linkable_post_type) && isset($geodir_linked_post_types[$linkable_post_type])){ $linked_post_type = $geodir_linked_post_types[$linkable_post_type]; } else { $linked_post_type = 'gd_place'; }
After that line add this line
$geodir_link_cpt_business = apply_filters('geodir_cpt_link_business_id', $geodir_link_cpt_business, $linkable_post_type);
3) Save it
4) Test itTry like this
function myshortcode_title() { return wp_get_document_title(); } add_shortcode( 'page_title', 'myshortcode_title' );
Thanks for spotting Bookmarks Tab issue. Its fixed. I have applied the fix on your website.
Thanks
Hi there, you cannot change visibility of name. Name is public in buddypress. If you add custom buddypress fields, you can change those fields visibility
You are welcome 🙂
-
AuthorPosts