Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Add php code for ajzx search
- This topic has 24 replies, 2 voices, and was last updated 9 years, 11 months ago by
yorgosf.
-
AuthorPosts
-
June 20, 2016 at 5:34 am #9120
yorgosf
Participant1. Hi Friend, i try to find open ticket supports and i cannot?
2. There is way to add the form in php files? and if yes where i can find the php code?
June 20, 2016 at 6:50 pm #9137Ernest Marcinko
KeymasterHi!
1. You can find your open tickets on your profile: https://wp-dreams.com/forums/users/yorgosf/topics/
There should be also an email sent after each ticket you open.2. It is possible to some level, but I only recommend doing that if you have experience with customizations. This knowledge base article explains how you can do that.
June 20, 2016 at 7:41 pm #9140yorgosf
Participant1. Thanks
2. I need to add the php code in existing wordpress template page
June 20, 2016 at 8:25 pm #9143yorgosf
ParticipantI dont understand, usually the plugins give the option to add sortcode or php code
June 21, 2016 at 9:53 am #9156Ernest Marcinko
Keymaster2. I thought you mean plugin customization.
There are of course shortcodes. You can find them very easily:
Right on the settings page: http://i.imgur.com/VSDHLRw.png
Top of the settings page: http://i.imgur.com/Yr3Niz7.png
Shortcodes Documentation: https://goo.gl/RhDR0F
PHP Shortcode Documentation: https://goo.gl/8NlmBqJune 21, 2016 at 3:55 pm #9173yorgosf
ParticipantThanks a lot a bit confused, must use the Search shortcode or setting shortcode?
June 21, 2016 at 3:57 pm #9174Ernest Marcinko
KeymasterYou only need the search shortcode for general purposes.
The settings & other shortcodes are for special uses only. You can read more about them in the documentation: https://goo.gl/RhDR0F
June 22, 2016 at 5:01 pm #9194yorgosf
Participanthi Friend again.
1. I try to change the width but not change, i have set in 100% but no change see attached
http://fuelsandlubes.com/flo-article/revised-astm-international-specification-for-gasoline-incorporates-15-ethanol-blend/
In fact i need to keep 800px but not working2. i need to increase the space some px between search box and results
June 22, 2016 at 9:31 pm #9197yorgosf
ParticipantStrange things happens. i duplicate the search i set width to 800px but the settings not get effect. Also the same duplicate content see how it looks here
June 23, 2016 at 3:38 pm #9206Ernest Marcinko
KeymasterHi!
1. I just checked on your back-end, it’s width is set to 70%: http://i.imgur.com/3bUG5SV.png
If you change that to 100%, it will work.2. You can try using a custom CSS like so:
[html]div[id*="ajaxsearchprores"] {
margin-top: 20px !important;
}[/html]June 24, 2016 at 6:53 am #9213yorgosf
Participanthi Ernest, i have set the layout in 80px not in 70%
June 24, 2016 at 7:03 am #9215yorgosf
Participantalso the css not working, why this happen?
June 24, 2016 at 9:28 am #9217Ernest Marcinko
KeymasterHi!
You are looking at the wrong instance options 🙂
The search on page is ID=2, and the width of 800px is set on the search instance #1: http://i.imgur.com/cdTQ0A1.png
Same with the custom CSS, I’ve put it into the second isntance custom CSS panel, now it should be working.
June 24, 2016 at 9:31 am #9218yorgosf
Participanthere i use the ID=1 search where it is set 800px and i apply also your CSS
June 24, 2016 at 9:38 am #9219Ernest Marcinko
KeymasterI just looked at that page, that is ID=2, the console confirms: http://i.imgur.com/k9ALRxT.png
You might see a cached version of your page, the margin is also correct there.
-
AuthorPosts
- You must be logged in to reply to this topic.