Forum Replies Created

Viewing 15 replies - 46 through 60 (of 87 total)
  • Plugin Author Joe Hana

    (@joehana)

    Hello,

    technically this is possible, but if done properly it is more of a customization since it involves multiple parts which needs to get modified. This is unfortunately nothing what we could handle through free support (nor premium support). You can send me your inquiry to joe[at]wpcasa.com and I will get back to you with an offer, or feel free to get in touch with any other professional webdeveloper of your choice.

    All the best,
    Joe [WPCasa]

    Forum: Plugins
    In reply to: [WPCasa] Search Form
    Plugin Author Joe Hana

    (@joehana)

    Hello,

    1. Custom Offer
    To add a custom offer, you can use this snippet.

    2. Slider
    Sliders are more of theme-territory. We’ve included sliders in our own themes. If you use a 3rd party theme you need to check if it has also a slider included and if not you should still be able to use a 3rd party slider plugin of your choice.

    Please consider to open a new thread for new questions, so that the thread title will not be misleading and others will do easier to find help. Thank you.

    All the best,
    Joe [WPCasa]

    Forum: Plugins
    In reply to: [WPCasa] Search Form
    Plugin Author Joe Hana

    (@joehana)

    Hello,

    Search by Location is already available. Location is basically a taxonomy. You can either use it for Location Names or Location Post Codes.

    All the best,
    Joe [WPCasa]

    Forum: Reviews
    In reply to: [WPCasa] Molto Versatile
    Plugin Author Joe Hana

    (@joehana)

    Hello Laura,

    Grazie ?? words like yours keep us motivated to make things even better.

    All the best,
    Joe [WPCasa]

    Forum: Plugins
    In reply to: [WPCasa] Search Form
    Plugin Author Joe Hana

    (@joehana)

    Hello,

    this is possible with a code snippet:

    /**
     * Display price (min/max) select
     * dropdowns instead of text fields
     */
     
    add_filter( 'wpsight_get_search_fields', 'custom_search_form_details', 50 );
    function custom_search_form_details( $fields ) {
        // Set price (min) to select
    	$fields['min']['type'] = 'select';
    	
    	// Set price (min) select options
    	
    	$fields['min']['data'] = array(
    		'100000' => '100.000',
    		'200000' => '200.000',
    		'300000' => '300.000',
    		'400000' => '400.000'
    	);
    	
    	// Set price (max) to select
    	
    	$fields['max']['type'] = 'select';
    	
    	// Set price (max) select options
    	
    	$fields['max']['data'] = array(
    		'500000' => '500.000',
    		'600000' => '600.000',
    		'700000' => '700.000',
    		'800000' => '800.000'
    	);
    	
    	return $fields;
    }

    Please avoid any currency signs within this code snippet, otherwise the search will return weird results.

    If you do not know where to place this code you might want to use the Code Snippets Plugin and add the code there.

    All the best,
    Joe [WPCasa]

    Forum: Plugins
    In reply to: [WPCasa] Multiple Images
    Plugin Author Joe Hana

    (@joehana)

    Hello,

    Galleries and the handling of photos at all are actually more theme-specific. We’ve included galleries in our own themes but if you use a 3rd party theme then the gallery comes either with the theme, or you need to use a 3rd party plugin or simply rely on the core wordpress gallery by adding images through the media gallery. You should have a button “Add Media” on the upper left of your editor where you can add those images and place the gallery within your content.

    All the best,
    Joe [WPCasa]

    Thread Starter Joe Hana

    (@joehana)

    Great Tim – that did the trick. Can’t remember that I’ve saved the config from the advanced tab but maybe it happend once during all the testing. Thanks again ??

    Thread Starter Joe Hana

    (@joehana)

    Hi Tim,

    thanks for the quick reply.

    My Plugin Header looks like:

    
     *
     * Text Domain: 	custom-users
     * Domain Path: 	custom-users/lang
     *
    

    But I’ve changed the Domain Path Part now to be only /lang but still I get this weird path. Does Loco store/cache this somehow?

    I actually doesn’t need nor want to make anything exotic. I still struggle with that Translation Thing for a while altough I thought I now have a clue about. I just want a straight forward method which simply works. ??

    Thanks for any insights.

    Thread Starter Joe Hana

    (@joehana)

    Hello,

    sorry if I sounded to harsh. It was quite early in the morning and don’t know…somehow I wasn’t able to clearly explain the issue. Sorry for that.

    Looking forward to the fix.

    Thread Starter Joe Hana

    (@joehana)

    Well, it’s pretty funny that you claim that you didn’t found that markup, since it is clearly available within the source code of the plugin.

    See wp-advanced-pdf.php on line 262 the function ptp_hook_div_for_guest? And it gets hooked on line 61 to the WP_HEAD. Why? Why does markup get hooked in the head? That doesn’t make any sense. And as it seems – there is no check included for the “frontend” or for a specific kind of users. This gets straight added to WP_HEAD in any case.

    Thread Starter Joe Hana

    (@joehana)

    Further it seems like right below this additional markup, it prints parts of the head incl. meta tags and link elements (<link rel=”” href=””>)

    Thread Starter Joe Hana

    (@joehana)

    Many thanks guys. You’re awesome.

    Thread Starter Joe Hana

    (@joehana)

    Wonderful thanks ??

    Thread Starter Joe Hana

    (@joehana)

    Ok, guess I got an improvment for that function which covers all aspects:

    function ptp_add_pdf_link($content) {
        if (! isset ( $this->options ['front_end'] )) {
            return $content;
        }
    
        $button = $this->ptp_pdf_icon ();
        if ('beforeandafter' == $this->options ['content_placement']) {
            $content = '<div style="min-height: 30px;">' . $button . '</div>' . $content . '<div style="min-height: 30px;">' . $button . '</div>';
        } elseif ('after' == $this->options ['content_placement']) {
            $content = $content . '<div style="min-height: 30px;">' . $button . '</div>';
        } else {
            $content = '<div style="min-height: 30px;">' . $button . '</div>' . $content;
        }
    }

    This approach simply checks if the frontend option is active/inactive and returns the content accordingly. The lower ‘return $content’ has been removed since it is useless anyway.

    Thread Starter Joe Hana

    (@joehana)

    Well, ok – I forgot to mention that it doesn’t work at all since I’m not able to select “None” in the options. But that way it should work then. ??

Viewing 15 replies - 46 through 60 (of 87 total)