how to edit page that is creating using shortcode for Fields manager? [closed]

i created a page using a shortcode [wp_freeio_change_profile] but some information i need to change them as you will see in the screenshot
First: i want to display on the drop down categories “employers-category” instead off “services-category”
Secondly: location i want it to display all countries (it shows nothing )
Third: i want to add another checkbox calling type

i tried using code but i didn’t know which page to edit cause there are manyenter image description here

New contributor

Anas Mourabi is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Changing the Profile Page Shortcode

Thank you for providing the details about the changes you would like to make to the profile page shortcode. I’d be happy to help you with that.

1. Changing the Category Dropdown

To display the “employers-category” instead of the “services-category” in the dropdown, you’ll need to modify the shortcode parameters. This typically involves editing the template file or the plugin’s code.

If the shortcode is implemented using a plugin, try adding the following parameter to the shortcode:

[wp_freeio_change_profile category_taxonomy="employers-category"]

This modification should display the “employers-category” in the dropdown instead of the “services-category”.

2. Displaying All Countries in the Location Dropdown

To display all countries in the location dropdown, you should:

  1. Check the Plugin Settings: Many plugins provide settings to customize dropdowns. Look for an option in the plugin’s settings that enables displaying all countries.
  2. Modify the Template File: If there is no setting available, you may need to edit the template file where the shortcode is used. This file is usually located within the plugin’s directory or your theme’s directory.

Here’s an example of how you might adjust the code:

$countries = get_all_countries(); // Hypothetical function to fetch all countries
foreach ($countries as $country) {
    echo "<option value='{$country->code}'>{$country->name}</option>";
}

If you’re unsure where to make these changes, refer to the plugin’s documentation or support team for guidance.

3. Adding a Type Checkbox

To add a new checkbox for the “type” field, follow these steps:

  1. Locate the Appropriate File: Identify the template file or the part of the plugin code responsible for generating the form. This could be in your theme’s files or within the plugin’s files.
  2. Add the Checkbox HTML: Insert the necessary HTML and PHP code to include the checkbox.

Example:

<label for="type">Type:</label>
<input type="checkbox" id="type" name="type" value="desired_value"> Desired Label

Example PHP to handle the checkbox value:

if (isset($_POST['type'])) {
    $type_value = $_POST['type'];
    // Process the value as needed
}

Additional Resources

If you’re not familiar with modifying plugin code or template files, consider the following resources:

  • Plugin Documentation: Check the documentation for detailed instructions on customization.
  • Plugin Support: Reach out to the plugin’s support team or community forums for assistance.

Please let me know if you have any other questions or need further assistance. If you can share the specific plugin or theme you’re using, I can provide more detailed guidance.

New contributor

priyanga dilshan is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật