twasadream
Forum Replies Created
-
Forum: Plugins
In reply to: [Contact Form 7] How to include current post_id/slug/name to contact formso… umm. what if i want to put a contact form in widget? :/
Forum: Plugins
In reply to: [Contact Form 7] How to include current post_id/slug/name to contact formsoo… turns out im a lazy biaaa…. :d i saw those special mail tags…
so, what about safety? :3
Forum: Plugins
In reply to: [Polylang] pll_register_string doesnt workso i hooked it to ‘init’ action and now it works fine. thanks for taking ur time anyways
Forum: Plugins
In reply to: [Polylang] pll_register_string doesnt workso i put the code in Avada parent theme functions.php and it works.
how can i make it work in Avada child theme? :/Forum: Plugins
In reply to: [Polylang] pll_register_string doesnt workyes it works in twenty sixteen :/
so is it Avada’s fault? :/Forum: Plugins
In reply to: [Polylang] pll_register_string doesnt worksure here it is
add_action( 'after_setup_theme','register_custom_string'); function register_custom_string(){ pll_register_string('tour-display','Tour type'); }Forum: Plugins
In reply to: [Polylang] pll_register_string doesnt workhi Chrystl.
well i dont really get what u mean (im new to wordpress stuff.. srry :d)
but in case u are asking just about location. its at the top of the page.
first i just put it there as it is. Then i put it in custom function(in case it wasnt called properly or dunno) and hooked it up to ‘after_setup_theme’ thing. That didnt work either.
Btw im using Avada theme. :/Oh ill take opportunity and ask u one more thing if i may. im just trying to translate stuff of html elements in my custom template. its something like this:
`<span>Post type :</span> <span><?php the_title(); ?> </span>
so is registering those things the right way to go about it? i kind of didnt feel like editing po and mo files. and this seemed like easier solution :3
forgive me for my noobness :dForum: Fixing WordPress
In reply to: How to create new form?when i say in the same page i dont mean “tours” page. i mean one seperate page maybe a hidden page that would get info from database according to the which “tour package” is chosen.