Your address will show here +12 34 56 78

Home Forums WP ESTATE – Real Estate WordPress Theme FORUM How to make small slider default in user submission

This topic contains 3 replies, has 2 voices, and was last updated by  issues 3 years, 6 months ago.

  • Author
    Posts
  • #12923

    Anna
    Keymaster
    in user-dasboard-add.php
    Replace the code order like this in 2 places:

    $slider_values = array
    ( __('small slider','wpestate') => '1',
    __('full top slider','wpestate') => '2'
    );

    small slider

    small slider 2

    For admin Рadd or edit property page  apply the same change in property.php

     

  • #13553

    Sonny

    i think u need a coder to help u for explanation
    edit here :
    line 107
    line 223
    line 340
    line 686

  • #21679

    Anna
    Keymaster

    Hello,

    The easiest way to make sure you find all locations is to do a search in the files.

    As you posted, user-dasboard-add.php has 4 occurrences for the slider code

    lines
    ~106
    ~222
    ~340
    ~686

    Small slider code is:

    $slider_values = array(‘small slider’, ‘full top slider’);

    Thank you

  • #26963

    issues

    Hello Anna,, I figured out my problem.. Not sure what teh work around is but for now its ok. I had removed the small/full slider selection box from the front end.. I put it back and now it works as expected, but I would like the selection box removed because I am not offering a choice… anyway.. all good for now.

You must be logged in to reply to this topic.