Andrew Leonard
Forum Replies Created
-
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Hidden ColumnsI would love to learn this stuff, but you would have to give me a lot of help and I do not know if you want to spend so much of your time on this.
I am not sure it is reasonable to askForum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Hidden ColumnsI just do not know how to do this!
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Hidden ColumnsYes I probably do
I think it might be a problem where I get the parameter from – I do not know how to do this in WordPress – get the user to input a choice (radio button in HTML)
I am away for a few days but can I get back to you on this one
I need more help with how to use the “tablepress_table_render_options” hookForum: Plugins
In reply to: [The Events Calendar] Responsive design problemHave a look at our test site
https://www.andrew-leonard.co.uk/wordpress/events/category/meetings/regional/national/I am using the basic theme twenty fourteen and have disabled every plugin except the Events Calendar
You get the same result
I think this represents the unmodified default theme but if there is anything I have left hanging about, please let me know and I can try to get rid of it
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] FilterI will look tomorrow
For tonight I “swapped” column 3 to column 1 and column 1 to column 2
This way it looks at column 2 before column 1 and it works OK!Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Filterwhere would I find the instructions for how to use this filter?
Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] FilterUgh
It is not working quite as I expected!
You can see here:
https://ebps.org.uk/ferns-2/indentification/hectad-page-v2/
I was expecting it to store the contents of column 1 and put it into column 3 of the same row, but it seems to be putting the contents of column one from the next row into column 3?Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] FilterAhhhh
I nearly got there…
Thanks
It works nowForum: Plugins
In reply to: [The Events Calendar] Responsive design problemI just re-read your response and I am a bit confused
We are using theme twenty fourteen – is that not also a default theme?I deactivated all the plugins and my child theme but the Event Calendar did not respond properly – I don not think this is a “conflict” problem.
It does respond when I changed the theme to twenty twelve or twenty thirteen (although the Event Calendar Menu item does not work in this theme – I did not try to tweak the themes). I can still access the calendar from menu item MEETINGS and then click on “2014” (on the right)
You say
“If you can isolate this as an issue that’s inherent to The Events Calendar, we’d be happy to look into it further.”
Well, you can just look here to see it not working – is that what you mean by isolating it?
https://www.andrew-leonard.co.uk/wordpress/events/category/meetings/
If you can spare the time, I can change the theme for you at your request so you can see the problem betterIs there likely to be a “problem” with theme twenty fourteen?
Forum: Plugins
In reply to: [The Events Calendar] Responsive design problemI have changed the theme to Twenty Twelve and your calendar responds properly
I think it is still possible that the “conflict” is caused by the Events Calendar but if you disagree, can you tell me how I raise a support issue with the theme (Twenty Fourteen)?Forum: Fixing WordPress
In reply to: Editor role problemEven more wierd
I changed the theme back to the child theme and now it worksWhat is going on?
Or should I just be glad it is working again!Forum: Fixing WordPress
In reply to: Editor role problemUgh!
I changed the theme to the default and now it works
I did not deactivate any plugins
Where can I go from here?
I presume something in my ‘children’ is upsetting the roles?
Can you help me track it down?
You can see a screen dump of my child theme here:
https://www.andrew-leonard.co.uk/images/child-theme.jpgForum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Adding HTML to tablesYes you did try to tell me this but I did not understand
I “saved” the table and now it works when I am logged outForum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Adding HTML to tablesIt behaves differently when I am logged in to when I am logged out
It only picks up my amended code when I log in
Does this make sense to you?
This is the amended code:
add_filter( ‘tablepress_cell_content’, ‘Google_Wrap15’, 10, 4 );
function Google_Wrap15( $tablepress_cell_content, $table_id, $row_number, $column_number ) {
if ($table_id==15) {
if ($column_number==2 or $column_number==4) {
$x=strpos($tablepress_cell_content, ‘(‘);
if ($x==0) {$temp=$tablepress_cell_content;}
else {$temp=substr($tablepress_cell_content,0,$x);}
$tablepress_cell_content = ““.$tablepress_cell_content.”“;
}
}
return $tablepress_cell_content;Forum: Plugins
In reply to: [TablePress - Tables in WordPress made easy] Adding HTML to tablesIf you look at my table, some of the Fern Names have a code after them in the form of (Z3-8). I have just amended the function to strip that off, if it exists, so that Google just concentrates on the Fern Name.
Maybe I have misunderstood but it seems to have picked up the amended function