Service Settings

Ask Beauty Spa Theme Installation, Settings & Configuration, Problem, Error & Bug Related Issues Here

Moderator: forum_m

Post Reply
ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Service Settings

Post by ozcolin » October 10th, 2016, 3:05 pm

In the Home Page options, when I add content to the Service Description is does not obey line breaks, paragraphs or basic HTML.
It becomes one big mass of words.
How can I add the line breaks?
How can I add a table?

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Service Settings

Post by support_staff » October 10th, 2016, 3:13 pm

Hi,

Please share your site URL.

And describe your issue via Screenshots where you getting problem.

Thanks.

ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Re: Service Settings

Post by ozcolin » October 10th, 2016, 6:41 pm

http://www.footprintgardens.com.au/

As you can see line breaks and html is not working
Attachments
home service.JPG
service.JPG

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Service Settings

Post by support_staff » October 12th, 2016, 12:11 pm

Hi,

Please go to Parent's Beautyspa Theme Folder >> theme-options folder.

Open option-data.php file and go to line no. 126

now replace your php code

Code: Select all

 if(isset($_POST['beautyspa_settings_save_home-service']))
	{	
		if($_POST['beautyspa_settings_save_home-service'] == 1) 
		{
				foreach($_POST as  $key => $value)
				{
					$wl_theme_options[$key]=sanitize_text_field($_POST[$key]);	
				}
				update_option('beauty_pro_options', stripslashes_deep($wl_theme_options));
		}	
		if($_POST['beautyspa_settings_save_home-service'] == 2) 
		{
			bs_service_setting();
		}
	}
with below php code.

Code: Select all

 if(isset($_POST['beautyspa_settings_save_home-service']))
	{	
		if($_POST['beautyspa_settings_save_home-service'] == 1) 
		{
				foreach($_POST as  $key => $value)
				{
					$wl_theme_options[$key]=($_POST[$key]);	
				}
				update_option('beauty_pro_options', ($wl_theme_options));
		}	
		if($_POST['beautyspa_settings_save_home-service'] == 2) 
		{
			bs_service_setting();
		}
	}
Save the changes.

Now, you can use <br> tag whenever you need.

Thanks.

ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Re: Service Settings

Post by ozcolin » October 12th, 2016, 4:46 pm

Thanks, the <br> works BUT wherever there is an apostrophe or " quotation marks (single or double) " there is a forward-slash.
How can that be rectified?
Attachments
service 2.JPG

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Service Settings

Post by support_staff » October 13th, 2016, 11:47 am

Hello,

ozcolin


please send the temp access of site at lizarweb[at]gmail[dot]com
We'll resolve the issue asap.

Note: please mention the link of this forum in mail.
Thanks.

ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Re: Service Settings

Post by ozcolin » October 13th, 2016, 4:10 pm

access was granted a while back for previous work

ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Re: Service Settings

Post by ozcolin » October 14th, 2016, 5:38 am

I used html (&#39) as a workaround which is ok, but if you want to fix properly then please do. You already have access

support_staff
Posts: 6788
Joined: February 26th, 2015, 1:40 pm

Re: Service Settings

Post by support_staff » October 14th, 2016, 1:15 pm

Hi @ozcolin,

We don't getting your admin access site.

we found below error.

http://www.footprintgardens.com.au/not_found

Please share your Accessible admin access site.

Thanks.

ozcolin
Posts: 69
Joined: January 7th, 2016, 5:26 pm

Re: Service Settings

Post by ozcolin » October 28th, 2016, 10:48 am

site access email sent

Post Reply

Return to “Theme Installation, Settings & Configuration, Problem, Error & Bug”