David Radovanovic
Forum Replies Created
-
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorWell, I finally got back to retrying the import. It has 500 plus new links. What I did was imported 20 at a time without a problem though anymore seems to produce the same error. Is there a limit? It’s not like the import timed out. Maybe I should post a snippet of the CSV file?
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorApparently two fields are required that were missing in several lines of the spreadsheet; URL (Address) and description. Without them the import failed with the above errors.
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorBTW – the line 1140 in link-library is
$handle = fopen($_FILES['linksfile']['tmp_name'], "r");checked all the files for empty spaces or lines… all good. Going to ask shared hosting co. if there are limitations with fopen.
Forum: Plugins
In reply to: [Link Library] [Plugin: Link Library] Import produces errorNo problem. Thanks for your impending reply!
Ditto here too.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?with
&&instead of||it worksForum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?I’ve also tried placing this in functions.php:
function is_child($parent) { global $post; return $post->post_parent == $parent; }and this in widget:
!is_home || !is_page( 86 ) || !is_child( 86)no good either
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?I tried adding this function to functions.php:
function is_tree($pid) { // $pid = The ID of the page we're looking for pages underneath global $post; // load details about this page if(is_page()&&($post->post_parent==$pid||is_page($pid))) return true; // we're at the page or at a sub page else return false; // we're elsewhere };and then this to widget:
!is_home() || !is_page( '86' ) || !is_tree('86')No cigar.
Forum: Plugins
In reply to: [Widget Logic] [Plugin: Widget Logic] Is there a "is_subpage" alternative?I’m having trouble with understand conditional statements. I’d like say; if NOT home page, NOT page 86 and NOT 86 subpages. I’ve tried this without luck:
!is_home() || !is_page( ’86’ ) || ’86’ == $post->post_parent
Thanks for any direction. Wouldn’t it be great if there were a wordpress conditional statement builder tool?
My theme is my own. You’re rule works as well. Thanks!
Same here. In my case I added these properties to the container that contained the links: z-index: 9999;position: relative;
Should be easy enough myself since you’ve made the app very customizable. Thanks.
So when I changed all the Post/Page settings in my@*#!website.com/wp-admin/edit.php?post_type=event&page=events-manager-options#pages, i.e. “Display locations as” returned from the previous setting of “Page” to the default “Post” selection the errors went away. Any ideas why that would produce the errors?
line 250 is:
if( strstr(EM_POST_TYPE_EVENT_SLUG, EM_POST_TYPE_LOCATION_SLUG) !== FALSE ){