Web Pages Not Displaying Properly

Home Forums WordPress Theme CityBook – Directory & Listing WordPress Theme Web Pages Not Displaying Properly

This topic contains 106 replies, has 3 voices, and was last updated by  rockpaperclick 3 months ago.

Viewing 25 posts - 51 through 75 (of 107 total)
  • Author
    Posts
  • #23159

    rockpaperclick
    Participant

    Supported

    Regarding the listing images, please see attached.

    Attachments:
    You must be logged in to view attached files.
    #23196

    Alma Viki
    Participant

    Unknow

    The image is wrong because you weren’t uploading the same size of images, just need to re-up image with same size now.
    Other way, use this CSS code:

    .card-listing .geodir-category-img img{
    width: 100%; height: 265px;
    }

    Thank you

    #23246

    rockpaperclick
    Participant

    Supported

    Hi Alma,

    I solved this problem by changing the below code in the parent themes function.php. I could not find a checkbox for this in the admin panel?

    if(!citybook_get_option('enable_custom_sizes')) return;

    to

    if(citybook_get_option('enable_custom_sizes')) return;

    #23249

    rockpaperclick
    Participant

    Supported

    Hi,

    I am currently trying to implement an wysiwyg editor to the listings in the admin panel. I realise you are using CMB2 but I am unsure how to implement this.

    I currently have the field implemented as a textarea with the ID price_textarea. Please assist.

    Kind Regards,

    Costa

    #23285

    CTHthemes
    Keymaster

    Hi,

    Do you want a editor field with id price_textarea on adming listing editing screen?

    #23296

    rockpaperclick
    Participant

    Supported

    I want the price_textarea field to work like an editor field. I already have it implemented as a text box. Thanks.

    #23297

    rockpaperclick
    Participant

    Supported

    I have made the below code changes in \wp-content\plugins\citybook-add-ons\posttypes\citybook-listing.php

    <!--div class="col-md-4">
        <label for="price_from"><?php //esc_html_e( 'Price From', 'citybook-add-ons' );?></label>
        <input type="text" id="price_from" name="price_from" value="<?php //echo get_post_meta( $post->ID, P_META_PREFIX.'price_from', true );?>">
    </div>
    <div class="col-md-4">
        <label for="price_to"><?php //esc_html_e( 'Price To', 'citybook-add-ons' );?></label>
        <input type="text" id="price_to" name="price_to" value="<?php //echo get_post_meta( $post->ID, P_META_PREFIX.'price_to', true );?>">
    </div-->
    <div class="col-md-12">
        <label for="price_textarea"><?php esc_html_e( 'Price Range', 'citybook-add-ons' );?></label>
        <textarea class="cmb-type-textarea" id="price_textarea" type="text" rows="5" id="price_textarea" name="price_textarea"><?php echo get_post_meta( $post->ID, P_META_PREFIX.'price_textarea', true );?></textarea>
        
    </div>

    The field has been implemented and working but would like it to function like the WordPress editor. Please see attached.

    Attachments:
    You must be logged in to view attached files.
    #23299

    CTHthemes
    Keymaster

    Try using this code:

    
    <div class="col-md-12">
                    <?php 
                    $editor_args = array(
                        'textarea_rows' => 5,
                        'textarea_name'=> 'price_textarea',
                        'teeny' => true,
                        'quicktags' => true
                    );
                    wp_editor( get_post_meta( $post->ID, P_META_PREFIX.'price_textarea', true ), 'price_textarea_id_', $editor_args );
                    ?>
                </div>
    
    #23318

    rockpaperclick
    Participant

    Supported

    Thanks for the assistance. That worked. Any news on the on the location button btw?

    #23365

    CTHthemes
    Keymaster

    Any news on the on the location button btw?

    What do you mean?

    #23367

    rockpaperclick
    Participant

    Supported

    When I press the dot in the attached it shows “England” not Bury St Edmunds (the town I am in).

    Attachments:
    You must be logged in to view attached files.
    #23369

    CTHthemes
    Keymaster

    Try these options: http://prntscr.com/k53516

    #23371

    rockpaperclick
    Participant

    Supported

    Setting it to locality seems to work however this seems to be leaving search results blank? It inputs “Bury Saint Edmunds” to the field which brings up blank results.

    However if I add “, UK” to the locality search on the search page it brings up results. If I do the same to the search on the homepage it still does not.

    Kind Regards,

    Costa

    #23372

    rockpaperclick
    Participant

    Supported

    I have also noticed that {{listing.thumbnail}} brings in the full image rather than the thumbnail when viewing location based results.

    This can be found in \wp-content\plugins\citybook-add-ons\templates\tmpls.php

    #23374

    rockpaperclick
    Participant

    Supported

    Also do you have any info on the Listing ADs? I would like to prioritise some listings to the top of search results based on listing plan.

    #23377

    CTHthemes
    Keymaster

    1 – did you mean this search field http://prntscr.com/k54o5v ?

    2 – the thumbnail problem will be fixed in next update

    3 – You have to create an AD Package with its details: http://prntscr.com/k54p4z
    Then listing author can start an AD Campaign for their listing from dashboard page.
    The add campaign is automatically activated after paid. Or manually change to completed via admin panel ( Listing ADs menu )

    #23382

    rockpaperclick
    Participant

    Supported

    1 – Yes
    2 – Great, thanks.
    3 – Thanks, this worked.

    #23383

    rockpaperclick
    Participant

    Supported

    Note, if a listing is currently advertised at the top of the search results, it shows up twice in the search results. Could this be prevented?

    #23385

    rockpaperclick
    Participant

    Supported

    I have also noticed the duplication issue creates an issue with the map pins, please see attached. I have also clicked on the pin to zoom in on them.

    Attachments:
    You must be logged in to view attached files.
    #23390

    rockpaperclick
    Participant

    Supported

    The ad also is not showing on https://privateschoolfinder.co.uk/listing/ I have selected all Ad Type.

    Thanks,

    Costa

    #23414

    CTHthemes
    Keymaster

    Thank you for notifying me this. I will check and fix it soon.

    #23445

    rockpaperclick
    Participant

    Supported

    Thanks For all the help guys. As far as I can tell all that is left is as follows:

    • The location search is not working when using location dot (I have tried changing the radius)
    • Listing photo once search filtered needs cropping
    • Ads are not showing in /listing/ and /listing_cat/catname/
    • Listings with Ads are showing twice (once as an advert and again as a listing)

    I haven’t checked over the payment system as I still need to confirm with my time if we will use this feature.

    Kind Regards,

    Costa

    #23449

    rockpaperclick
    Participant

    Supported

    I have also noticed the image thumbnail on the map infoBox is not cropped.

    #23479

    rockpaperclick
    Participant

    Supported

    Neither are the category images found in \plugins\citybook-add-ons\elementor\listing_categories.php.

    #23619

    rockpaperclick
    Participant

    Supported

    I have updated listing_categories.php so that the array sizes are specified in the file rather than trying to pull the sizes from the citybook_get_thumbnail_sizes function as it seems to just pull in the option name instead of the size.

Viewing 25 posts - 51 through 75 (of 107 total)

You must be logged in to reply to this topic.

Hello! CityBook version 1.2.7 was released. Bulk Import Add-On, OpenStreetMapView Details
+