The Three
Forum Replies Created
-
Forum: Plugins
In reply to: [Pixel Caffeine] Plugin 2.3.2 & 2.3.3 does not register purchasesame problem here
Forum: Plugins
In reply to: [WP FullCalendar] View Calendar backend@alekv you are right, this code was from another plugin
thanks for your time
Forum: Developing with WordPress
In reply to: Global var _wp_menu_nopriv contains edit.phphi @bcworkz,
thanks for the replyit turns out that my code was right
there was a javascript code that was disabling some input fields
these input fields are vital for post editing as if you disable then, they not beeing posted in updatethanks
Forum: Developing with WordPress
In reply to: recursive wp_remote_post()I found the bug, it was at the
// do something
part… the above code is working fine ??Forum: Developing with WordPress
In reply to: Mapping image sizesi found a filter for woocommerce… can i use this for other sizes?
add_filter( 'woocommerce_thumbnail', function( $size ) { return 'thumbnail'; } );
Forum: Developing with WordPress
In reply to: Quick edit & Custom ColumnsI found a work around… insist removing the title column and add a custom one
i filtered the original title column like thisfunction filter_post_title($title, $post_id){ global $current_screen; if ($current_screen->id == 'edit-custom_post_type'){ return get_post_meta( 'Custom title', 'name', true ); } } add_filter('the_title', 'filter_post_title', 100, 2);
Forum: Developing with WordPress
In reply to: Quick edit & Custom ColumnsHello @bcworkz ,
With
manage_{$post->post_type}_posts_custom_column
you can change the value of cells. Before that, you must set what column to display withmanage_{post_type}_posts_columns
now, if i leave the “title” column the date works fine… if i remove it, the date breaks
Forum: Developing with WordPress
In reply to: WP_Query – Author in meta_query@joyously hello there!
lets say that i have two custom meta keys
meta key #1: _phone
meta key #2: _surnameso i want to query the posts from author with ID 1234 AND meta key ‘_phone’ with value ‘xxxxxxxx’
OR
posts from author with ID 4321 AND meta key ‘_surname’ with value ‘xxxxxxx’but as far as i know, author’s ID does not exists in custom meta fields.
- This reply was modified 5 years, 1 month ago by The Three.
Forum: Plugins
In reply to: [Yoast SEO] PHP Fatal error Schema_IDs (return)@devnihil still same issue with 11.7
Forum: Developing with WordPress
In reply to: Query WordPress posts with RegEx@bcworkz can you give me a use case with custom table?
my array is a group of text fields
field #1: name
field #2: date
field #3: document numberuser can create as many groups as he needs
final example:array( array( 'name' => 'some name', 'date' => '15-5-2019', 'docnumber' => '', ), array( 'name' => 'some name #2', 'date' => '15-5-2019', 'docnumber' => 'AP19385', ), array( 'name' => 'some name #3', 'date' => '17-5-2019', 'docnumber' => 'AP12335', ) )
Forum: Developing with WordPress
In reply to: Query WordPress posts with RegExHello @bcworkz,
a workaround that i applied is quering a “LIKE” comparison with value ‘s:4:”key3″;s:0’
i am concerning for the future performance too and i thought to check if key3 is empty when the array meta is saved and if its true then create a new meta key that will indicate that this post has a key3 empty
Finally, whats the point of using CMS Framework like WordPress if you must create custom tables and other methods that not supported by the CMS out of the box (just a thought)
Thanks
- This reply was modified 5 years, 3 months ago by The Three.
Forum: Fixing WordPress
In reply to: Increase wordpress memory limit on dedicated serverYes I think you are right!
So my websites “slow down” and even “down time” (when 500+ users are active) It’s not caused from memory limit…Ok, now I have to check the server condition, or the website theme or plugins performance… Right?
Can you give me some tips for checking what is going wrong? Thanks!
Forum: Fixing WordPress
In reply to: Increase wordpress memory limit on dedicated serverOh yes I am sorry… I was meaning 256MB… I have increased wp memory to 256…
Forum: Plugins
In reply to: [Flexible Posts Widget] Custom widget options?ok i have found a solution with ACF plugin but i don’t know if is a good idea for you feature updates of your plugin… Thanks any way!