Editing Add Listing page & fields

  • Mizanur
    Mizanur
    Newbie 27 points
    March 12, 2020 at 11:54 am

    Hi,
    I am new to Premiumpress V9 themes.
    I am using classifieds theme.
    How to edit the area and fields highlighted by the red circles in the attached images?
    Any help would be much appreciated.

    Attachments:
    You must be logged in to view attached files.
  • Mizanur
    Mizanur
    Newbie 27 points
    March 28, 2020 at 1:33 pm

    Is there anyone who can assist with this please?

  • barrettmediallc
    barrettmediallc
    Newbie 24 points
    March 28, 2020 at 2:00 pm

    You should be able to edit those things with elementor

  • Adnan
    Adnan
    Elite Member 542 points
    March 28, 2020 at 2:43 pm

    If you are not using elementor;

    Picture can be changed by assigning featured image to the pages and

    Content can be changed by updating

    pageheader_title
    pageheader_sub
    pageheader_desc

    fields you see under the pages in backend edit.

  • JamesD
    JamesD
    Super Guru 1,719 points
    March 28, 2020 at 11:29 pm

    @Mizanur
    “How to edit the area and fields highlighted by the red circles in the attached images?”

    For changes related to your first image example (hopefully this helps)…
    Here’s a video walking through the steps with the Top Listings page.

    For the second image, the file in question is /CP9/_framework/add-form-details.php. Make a copy and add it to your child theme and edit.

  • JamesD
    JamesD
    Super Guru 1,719 points
    March 29, 2020 at 2:54 am

    Sorry Mizanur, the sub-directory meant was ‘templates‘, so the file location is <strong/CP9/templates/add-form-details.php

  • Mizanur
    Mizanur
    Newbie 27 points
    April 1, 2020 at 3:52 pm

    Thank you everyone.

    James – I have managed make the changes related to my first image as per the video tutorial.
    With regards to my second image I have made copy of the add-form-details.php and saved it in my child theme.

    I thought it would be case of find the fields and change or edit but I have no clue where or what to change in the php file?

    Any pointers on what I need to do in the add-form-details.php to make the changes, for example if a user is posting a listing to let a room then for this listing the fields ‘Item Status’ , ‘Delivery’ and ‘Condition are not relevant etc.

  • Mizanur
    Mizanur
    Newbie 27 points
    April 1, 2020 at 4:52 pm

    Or is there a way to hide all the fields so that I can create and use only custom fields via Listing & Packages>Custom Fields?

  • JamesD
    JamesD
    Super Guru 1,719 points
    April 1, 2020 at 8:07 pm

    @Mizanur

    Ok, change of plans…

    Those fields are setup in the ‘functions.php’ files and would need to be copied into your ‘_functions.php’. The ‘add-form-details.php’ is the template to display that info.

    Which child theme are you using, the default built-in one or a different one?
    If you already have a ‘_functions.php’ file, zip it up and attach it here and I’ll copy the info over otherwise I’ll use the one in the child theme you use. I’ll also disable the fields you mentioned (‘Delivery’, ‘Item Status’ and ‘Condition’).

    Note: This will remove those fields, however you would still need to check and make sure removing them doesn’t cause any issues with your setup.

  • Mizanur
    Mizanur
    Newbie 27 points
    April 2, 2020 at 7:53 am

    Hi James,
    I am using classifieds Mobile theme.
    Yes please go ahead and edit the functions.php

    Thanks

  • JamesD
    JamesD
    Super Guru 1,719 points
    April 2, 2020 at 9:56 am

    Hello,

    Extract the attached file and upload both (one is an original for backup) to the /CT9/_classifieds/ directory. This will overwrite the current functions.php file.

    You’ll see the settings that were disabled starting around line #563. You can always uncomment the ones you would like to re-enable again.

    Note: This file WILL be overwritten whenever the theme is updated.

    Attachments:
    You must be logged in to view attached files.
  • Mizanur
    Mizanur
    Newbie 27 points
    April 2, 2020 at 10:45 am

    @James

    Thank you, I uploaded to funtions.php to childtheme folder but it breaks the site.

    Am I supposed to upload it to the main theme files?

    Also is it not possible to disable/hide the fields using custom css, as this would make it easier if the theme is updated?

  • Mizanur
    Mizanur
    Newbie 27 points
    April 2, 2020 at 11:42 am

    @James

    I managed to get it working, I uploaded file to wrong folder.

    One more thing how can I arrange the order see attached image?

    Attachments:
    You must be logged in to view attached files.
  • JamesD
    JamesD
    Super Guru 1,719 points
    April 2, 2020 at 7:53 pm

    @Mizanur
    Here’s CSS that should remove those fields as well:

    #form-row-rapper-status, #form-row-rapper-condition, #form-row-rapper-delivery { display: none; }
  • JamesD
    JamesD
    Super Guru 1,719 points
    April 2, 2020 at 8:02 pm

    Extract the file, then upload the folder and file (‘templates/add-form-main.php’) into your child theme directory (childtheme_classifieds_mobile).

    Attachments:
    You must be logged in to view attached files.
Viewing 15 posts - 1 through 15 (of 23 total)

New Business Themes for WordPress 2020

Start your new website today!

View Business Themes