Mark Stevens
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Background Image in tableAlso, there are already over 500 individual tables, so editing each one to remove the table head row would be too time consuming, I would rather leave it alone at that point.
Forum: Plugins
In reply to: [WP-Table Reloaded] [Plugin: WP-Table Reloaded] Background Image in tableThank you Tobias for your quick response as usual!
Ooops, THIS should link here…sorry.
Also, if I put the image in the “img” sub-folder in the wp-table-reloaded plugin folder, what would be the path to the image to use with background-image: url(tbl_bkg.png);The search function is not of great use yet so it can probably be removed, along with the Table Head row but maybe in the future when the tables get full it may be.
Is there or could you create a way to make wp-table-reloaded able to search by other parameters such as gender, zipcode, ect..There are about 4 different table classes, so Yes the Extra CSS class is necessary in my opinion.
Can I make the default number of rows shown to be 25 by default instead of 10?
global $post; $ancestors= get_post_ancestors($post); return !in_array(‘addiction-treatment-centers’,$ancestors) && !in_array(‘addiction-counselors-and-therapists’,$ancestors);
(This code does not work for what I am trying to accomplish. The widget content still shows up on all those pages.) Neither does >> global $post; $ancestors= get_post_ancestors($post); return !in_array(‘addiction-treatment-centers’,$ancestors) || !in_array(‘addiction-counselors-and-therapists’,$ancestors);
REV: What I’m trying to accomplish is, I want the Adsense ads in the footer widget NOT to appear in those pages, or their child pages
I have no idea. I had a few plugins that may or may not have conflicted with Widget Logic, so I removed them to avoid potential issues. Maybe it didn’t cause an error on yours because you don’t have a page ID 2872. I’m just guessing.
On the same subject, can I use a code like this>> global $post; return !(in_array(‘addiction-treatment-centers’,’addiction-counselors-and-therapists’,get_post_ancestors($post)));
What I’m trying to accomplish is, I do not want the Adsense ads in the footer widget NOT to appear in those pages, or their child pages
Thanks Alan. It happened again after I made a syntax error on one of the codes. WHY is that happening? all I did was put (global $post; return (!in_array(2872,get_post_ancestors($post)));) instead of (global $post; return !(in_array(2872,get_post_ancestors($post)));)…I understand why it caused an error, but it shouldn’t have wiped out ALL the WL code. I’ve replaced all the code (again) and got the widgets showing up where I need them to again, (for the most part). Anyway, If I export the WL Options widget_logic_options.txt file, and I lose the WL code again, will that widget_logic_options.txt backup replace all the WL code where it was originally? I’m just a bit nervous about making a syntax error again.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?Thank you Alan, I really appreciate your answer. I have found posts that place the code in the functions.php, that’s why i asked.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?Yes, I get that, but do I put the tag >> global $post; return ($post->post_parent==”1153″); right in the widget_logic box at the bottom of the widget?
Or would I place the >> global $post; return ($post->post_parent==”1153″); tag in the function.php file?
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?Alan, lets take this a step further and lets make the “text widget” show up only in the “Footer 3” (bottom right corner) of the pages. That is really the main objective.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?Thanks Alan, I need to know exactly where to put that code in relation to the widget showing up on those pages.
I registered 2 new sidebars/widget areas in functions.php. I also added them to sidebar-bottom.php so they work correctly. I have added text widgets to the new sidebars and I need each of them to show up on the pages discussed earlier.
I am using Genesis Framework – News Child theme. The only editing capabilities I have are for home.php, functions.php & sidebar-bottom.phpP.S. This is the shortlink location of “california” >> http://addictiondiscussion.com/?p=1153
Is 1153 the correct “page ID” or “post ID”?
Forum: Fixing WordPress
In reply to: Widget Organizationesmi… Any guidance on how to achieve what ibiss55 is asking? I have the exact same question. Do you know of any reference material for such a code?
Thanks in advance.Forum: Fixing WordPress
In reply to: Errors after editing Widget LogicI removed the Widget Logic plugin folder via FTP and then uploaded it again.
I refreshed the folder on the server and voilla!, the errors disappeared.I would like to know what caused them in the first place though.