- This topic has 6 replies, 3 voices, and was last updated 11 years, 11 months ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Viewing 6 posts - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.


Tagged: custom, documentation, templates
Hi,
Yes, BePro listings works via template files for both the listings and details page. We have created documentation for people to create, store, and reference their own templates.
– http://www.beprosoftware.com/custom-listing-templates/
Regards,
BePro Software Team
Thanks, I followed those instructions and it doesn’t seem to be working as expected.
I put the template definition in the function.php file in my theme.
$data = get_option("bepro_listings");
$data['bepro_listings_list_stuart'] = array(
"bepro_listings_list_title" => "stuart_bepro_listings_list_title_template",
"bepro_listings_list_below_title" => "bepro_listings_list_category_template",
"bepro_listings_list_above_title" => "stuart_bepro_listings_list_image_template",
"bepro_listings_list_image" => "bepro_listings_list_geo_template",
"bepro_listings_list_content" => "stuart_bepro_listings_list_content_template",
"bepro_listings_list_end" => "bepro_listings_list_links_template",
"template_file" => get_template_directory().'/bp_stuart.php');
update_option("bepro_listings", $data);
I included all of my custom functions below that definition.
I created my template file and put it in the root of my theme folder.
And on my page I used the following shortcode: [display_listings type=”stuart”]
It seems to be having an issue finding my template file. Do you see anything wrong in what I did. Is the theme functions.php file the correct place for this code?
Nevermind… I figured it out. I was using bepro_listings_list_stuart instead of bepro_listings_list_template_stuart in my $data array defintion.
Hi,
I’m happy you figured it out.
Please remember to rate the plugin. Apart from buying addons, this is the best way to support development and growth of BePro Listings.
Regards,
___
BePro Software Team
The link http://www.beprosoftware.com/custom-listing-templates/ is broken. Where I can find this informations?
Hi,
We apologize for any confusion. All documentation has been moved to the documentation section of the website.
– https://www.beprosoftware.com/documentation/custom-listing-templates/
Regards
___
BePro Software Team
If you are responsible for a website or digital system you did not originally build and want someone to quietly take ownership of it, that is what we do.
BePro Software helps organizations maintain continuity, clarity, and accountability across their websites, hosting, and supporting systems.