Few questions about EasyBook

Home Forums WordPress Theme EasyBook – WordPress Theme Few questions about EasyBook

This topic contains 26 replies, has 2 voices, and was last updated by  44francecom 1 month ago.

Viewing 25 posts - 1 through 25 (of 27 total)
  • Author
    Posts
  • #34783

    44francecom
    Participant

    Supported

    Hello, I have some questions.

    1) Is it possible to show easily categories of posts on the blog ? I saw an option to do this by knowing the identifiers of the categories, can we do it without knowing these identifiers ?

    2) For the calendar, I would like to have the month before the year, how can I do that ?

    3) I can’t use elementor for some pages : listing_locations and listing_categories. I wanted to put 4 pictures at the bottom, is there a way to do that ?

    4) How can I have the same height and width for all pictures listings ?

    5) Listing ADs show me nothing, how can I create one ? I would like to show listings that have ADs. (I already enable them in the settings)

    6) In “Listing Types” > My type > “Filter” > “Filter Listing”, I change the column width of my button “Rechercher” (20% to 25%) and reduce the column of the price range (40% to 35%), but it doesn’t change at all. I saw in the css that my change is replaced by the default width.

    7) On the hotel pages (campsites for me), we can’t see the map by clicking on the “On The Map” button. … Why?

    Regards,

    Logan

    #34842

    CTHthemes
    Keymaster

    1 – Would you send me a screenshot? It will be very helpful.

    2 – Did you mean wordpress calendar widget? It’s not possible. You may need using other plugin.

    3 – They are default wordpress archia page, so can’t user page builder for them. You need to use easybook_footer_before action hook to add new content to footer. Try using `if( if( is_tax(‘listing_cat’) || is_tax(‘listing_feature’) || is_tax(‘listing_location’) || is_tax(‘listing_tag’) ){

    }` for checking category/location/feature/tag page.

    4 – Enable custom image size on Appearance -> Customize -> Thumbnail Sizes panel and enter size for listing images. Use Regenerate Thumbnails plugin to generate new images.

    5 – Listing author can add new add campaign from front-end dashboard page. Check theme documentation for more details ( CityBook theme )

    6 – Please make sure that you change default listing type post ( which is select on Settings -> EAsyBook Add-Ons -> Submit tab )

    7 – Send me the page link to check.

    #34859

    44francecom
    Participant

    Supported

    1) I just wanted to know if it was possible with EasyBook. The option I saw didn’t come from EasyBook, I have to do it by adding a custom field, a feature of WordPress : https://www.designerblogs.com/how-to-display-categories-on-wordpress-blog-pages/

    2) I mean the calendar that’s in the forms from listing types > my type (“campings” for me) > filter.

    3) I tried, but it always returns false.

    4) Working fine except for the pictures from the first attachment of my previous post..

    5) Thanks, I will check that later!

    6) Already done before .. :-/ In the third attachment of my previous post, we could see the “25%” that I wanted, but it takes into consideration the “20%”.

    7) The link : https://portail.francecom.com/campings/park-central/

    8) new question : When I edit the price of a listing, it doesn’t change. In the backoffice it takes the value, but in the front pages it still take into consideration the “default” value or “0,00€” if I create a new one.

    • This reply was modified 2 months, 1 week ago by  44francecom. Reason: forget a question
    #34865

    44francecom
    Participant

    Supported

    Edit for the question 3 : It works ! Thanks !

    #34898

    CTHthemes
    Keymaster

    1 – Sorry, I can’t still understand. What do you want to edit, and what do you want to add to ?

    2 – It’s not possible.

    8 – Did you use Listing Price (NEW) field for price input? http://prntscr.com/os0drc

    #34903

    44francecom
    Participant

    Supported

    1) On the blog I wanted to show the categories, not the posts.

    8) Yes, I use Listing Price (NEW) field for price input: https://prnt.sc/os1595

    #34907

    44francecom
    Participant

    Supported

    I would like to understand something about overriding a template.
    In the theme EasyBook, I have a template in : lib/plugins/easybook-add-ons.zip/templates/listing-search.php (I saw the template file in : plugins/citybook-add-ons/templates/listing_search.php)
    Is it possible to override that file in the theme child ?
    I followed that documentation : https://docs.cththemes.com/docs/for-developer/overide-template/ and tried to override it without success.

    • This reply was modified 2 months, 1 week ago by  44francecom.
    #34923

    CTHthemes
    Keymaster

    1 – You have to use Elementor to build custom page with categories display. By default wordpress showing posts for blog page:

    8 – Send me your site address + WordPress-admin account to check. I also need the listing page.

    For override template, check this topic: https://support.cththemes.com/?topic=search-results-card-customisations/#post-34896

    #34927

    44francecom
    Participant

    Supported
    This reply has been marked as private.
    #34963

    CTHthemes
    Keymaster
    This reply has been marked as private.
    #34992

    44francecom
    Participant

    Supported

    I forgot that the website is not accessible in some countries. I will contact the developer who returns in 3 weeks and I will come back to you at that time.

    #35020

    CTHthemes
    Keymaster

    It’s ok. Thank you.

    #35590

    44francecom
    Participant

    Supported

    For my question 8) : For the price I found the “bug”.
    In wp_postmeta, I have a meta_key named “_cth__price” instead of “_price”. If I insert a meta_key “_price” with a value, it works. How can I fix that ?

    I will see the developer who will make the website accessible from where you are, if you want to check that!

    #35594

    44francecom
    Participant

    Supported
    This reply has been marked as private.
    #35705

    44francecom
    Participant

    Supported

    Hi,

    I found the problem for the price.
    In : easybook-add-ons/includes/core-functions.php on line 1665, “ESB_META_PREFIX.” is missing before “_price”.

    #35715

    CTHthemes
    Keymaster

    Hello, the ‘_price’ meta data is correct. Please make sure that you have Listing Price (NEW) field for entering price on submit page.

    #35734

    44francecom
    Participant

    Supported

    Strange that it works with meta_key ‘_price’ instead of ‘_cth__price’ as it’s registered in the wp_postmeta table…
    I have the meta_key ‘_cth__price’ in wp_postmeta, not the meta_key ‘_price’.
    I have Listing Price (NEW) field for entering price.

    #35767

    CTHthemes
    Keymaster

    I see the problem. It’s currently not working with admin editing listing. Try this fix: https://prnt.sc/p1zidt

    if( isset($_POST['_price']) ) update_post_meta( $listing_id, '_price', $_POST['_price'] );

    #35810

    44francecom
    Participant

    Supported

    Thanks, it works !

    When I import my data, I would like to insert a postmeta with this meta_key : “_cth_listing_dates” with a value like : 20190905;20190906;20190907, but it doesn’t work. Is it possible to change available dates for a post without updating it in the backoffice ?

    #35841

    CTHthemes
    Keymaster

    Try this code:

    
    add_action( 'init', function(){
    	$posts = get_posts( array(
            'fields'            => 'ids', 
            'posts_per_page'    => -1, 
            'post_type'         => 'listing',
            'post_status'       => 'publish',
        ) );
        if ( $posts ) {
            foreach ( $posts as $pid ) {
                update_post_meta( $pid, '_cth_listing_dates', '20190905;20190906;20190907' );
            }
        }
    } );
    
    
    #35864

    44francecom
    Participant

    Supported

    It works, problem resolved, thanks !

    #35908

    CTHthemes
    Keymaster

    You are most welcome 🙂

    #36241

    44francecom
    Participant

    Supported

    I would like to know something else : it’s impossible to add an element that I created for filter listing ?
    I can’t override easybook-add-ons/posttypes/search.php ? And I can’t override the ajax call for “easybook_addons_ajax_search” ?

    #36262

    CTHthemes
    Keymaster

    You can use easybook_addons_ajax_search_args filter hook to modify post query arguments: https://prnt.sc/p7m946

    #36277

    44francecom
    Participant

    Supported

    I don’t really understand how to do this ..
    I added this in my filter listing (the thing circled in red) : https://prnt.sc/p7nfg8
    I did this to add an element for search listing : https://prnt.sc/p7nhko, it works (as we can see in the precedent screen)
    I tried this : https://prnt.sc/p7nh4k, it doesn’t work

Viewing 25 posts - 1 through 25 (of 27 total)

The topic ‘Few questions about EasyBook’ is closed to new replies.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.8 was outUpdate now
+