mannyotr
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Function call from table triggerThank you @howdy_mcgee this worked like a charm!
I think I might understand what you are saying. But I don’t think it will help me.
If I understand what you are saying, I would need to create a filter kinda like this:
add_filter( 'wpmem_login_form_args', function(){ $some_value = 'http://mywebsite.com/page-slug-name/parameter1/parameter2/'; $args['redirect_to'] = $some_value; return $args; });Is that right?
If that is right, that would work for only one page. But that won’t help me because I have over a dozen different pages I need this to work for. For example, I need this to work for all these pages:
http://mywebsite.com/page-slug-name2/parameter1/ http://mywebsite.com/page-slug-name3/parameter1/parameter2/parameter3/ http://mywebsite.com/page-slug-name4/parameter1/parameter2/So how would that work?
Forum: Developing with WordPress
In reply to: Page Redirect IssueI fixed it and now it works perfectly! Simply by changing the add_action code…
From this:
add_action( 'init', 'my_redirect' );To this:
add_action( 'template_redirect', 'my_redirect' );Forum: Themes and Templates
In reply to: Table Rescale in TwentyFourteen theme (mobile)Awesome! That seems to have done the trick!
Thank you so much!
Forum: Themes and Templates
In reply to: Table Rescale in TwentyFourteen theme (mobile)Oh sorry! I missed that.
I deleted that code and it seems to have helped a little bit. It’s definitely better than before. Not perfect, but better.
Forum: Themes and Templates
In reply to: Table Rescale in TwentyFourteen theme (mobile)Thanks! I have added that code to the child CSS file.
Forum: Themes and Templates
In reply to: Table Rescale in TwentyFourteen theme (mobile)Anna,
I have added the responsivetable class to all tables and also added the CSS code to the twentyfourteen-child/style.css file. I also removed all the padding references.
Still seems to be doing the same thing on mobile.
Forum: Themes and Templates
In reply to: Table Rescale in TwentyFourteen theme (mobile)That didn’t work. But the more I look at it the more it seems to be more of an issue with the way the entire page is displayed on a mobile device.
I’m gonna start a separate thread about that.
Forum: Plugins
In reply to: Passing ParametersI figured it out. I needed to fix one small detail…
'racer-profile/([^/]*)/?' => 'index.php?pagename=racer-profile&profile_status=$matches[1]' ,'race-registration-page2/([^/]*)/?' => 'index.php?pagename=race-registration-page2&raceid=$matches[1]' ,'race-registration-page3/([^/]*)/([^/]*)/?' => 'index.php?pagename=race-registration-page3&raceid=$matches[1]&category=$matches[2]'Forum: Hacks
In reply to: Custom Form Dropdown (Add Value)Worked like a charm! Thanks for your help bc.
Manny
Forum: Hacks
In reply to: Custom Form Dropdown (Add Value)Here’s what I have in my child page…
First, I have this script:
<script language="javascript"> function showme(){ var s = document.race-registration-form.team_name_select; var h = document.race-registration-form.team_name_enter; if( s.selectedIndex == 5 ) { h.style.visibility="visible"; } else { h.style.visibility="hidden"; } } </script>Then I have this HTML code:
<select name="team_name_select" onchange="showme()"> <option value="none">select a team name</option> <option value="team1">Team 1</option> <option value="team2">Team 2</option> <option value="team3">Team 3</option> <option value="team4">Team 4</option> <option value="other">Other...</option> </select> <input type ="text" name="team_name_enter" style="position:relative;visibility:hidden;" value="enter a team name">Doesn’t seem to work on my WordPress child page.