Questions tagged [meta-key]

109 questions
22
votes
5 answers

How to order by multiple meta keys?

I’m using a custom loop to display my events on a page, I get it fine ordering by the event start date using the below: $args = array( 'post_type' => 'event', 'order' => 'ASC', 'orderby' => 'meta_value', 'meta_key' =>…
user1280853
  • 1,079
  • 5
  • 14
  • 23
20
votes
3 answers

How do I get Jetbrains IDE's embedded terminal to recognize ALT/Option as the Meta key?

I'm currently working in WebStorm, but also use IDEA and RubyMine. I am using the embedded terminal and would like to get the Alt/Option key to be recognized as a the meta key, or at least send key+ESC.
zen
  • 571
  • 5
  • 13
13
votes
3 answers

How can I use Alt as meta key in Windows for Emacs 23, especially M-x?

I tried to use Alt as meta key for the FSF Emacs 23 Windows version and for EmacsW32 but especially M-x (Alt-x) does not work. Somehow I cannot use Alt as Meta key for Alt-x (M-x). I searched really hard and all I got is how to switch the meta key…
ayckoster
  • 6,707
  • 6
  • 32
  • 45
10
votes
6 answers

Mac OS X Terminal [Use option as meta key] overrides backslash in spanish keyboard

I check "Use option as meta key" checkbox in Mac OS X Terminal, because I like to use emacs way of moving between words: M-f & M-b. But if I do that, I can't get the backslash (Option + º; i.e.: Option + key-at-the-left-of-1-in-spanish-keyboard). If…
nephewtom
  • 2,941
  • 3
  • 35
  • 49
7
votes
3 answers

How to update user meta for multiple meta_key in wordpress

I'm trying to update multiple meta_key for user in WordPress update_user_meta( $user_id, array( 'nickname' => $userFirstName, 'first_name' => $userFirstName, 'last_name' => $userLastName , 'city' => $userCityID , 'gender' => $userGenderID) ); but…
Fadi
  • 2,320
  • 8
  • 38
  • 77
6
votes
1 answer

Meta-x doesn't work in Emacs

Problem: How to make Meta-x work in emacs? Hi I am a newcomer to linux using Ubuntu 10.04LTS and emacs23.1.1. I used the Alt key as Meta, but it stopped working when I upgraded ubuntu. I changed meta to right ctrl (using ubuntu keyboybard…
Qyvind
  • 65
  • 1
  • 4
5
votes
2 answers

Query post_title OR meta_query

I'm searching for a solution for my WordPress custom query problem. I have a search-form where the user can input some text, this text can be a word from the post_title or an meta_value (Company ID). I need to search the string in post_title OR the…
user2874008
  • 71
  • 1
  • 4
3
votes
2 answers

How do I switch between windows in tmux with my own key shortcuts?

I am using tmux version 3.1c. The command to switch to the previous window in tmux is the following: Ctrl-a + M + p However, my "meta-key" M, which I think should be Alt Gror Alt, won't trigger (at some point I came across ESC as my meta-key but…
derUeberBoss
  • 31
  • 1
  • 4
3
votes
2 answers

WordPress: WP_Query with posts from a category and meta_query or only another meta_query

I have some trouble with WordPress and the WP_Query. I would like to get posts filtered by meta_query and/or category, but I have the following problem: The first type of posts has a custom field named "type" which must be filled with "exercise" and…
user12414536
3
votes
1 answer

Vim multiple meta keys

Update: It turns out to be a bug in MacVim (or perhaps a feature that has yet to be implemented). I am trying Vim, coming from TextMate. TextMate has a Ruby plugin where you can type Control+Command+Shift+E, and it will find all the lines in your…
Joshua Cheek
  • 30,436
  • 16
  • 74
  • 83
3
votes
0 answers

Wordpress failing to sort and filter in same wp_query with meta values using relational operators

I am trying to implement a filter and sort system for woo-commerce products in Wordpress. There are two prices in my system (buy and rent) Below is the argument array: $args = array( "post_type" => "product", 'orderby' => 'meta_value_num', // This…
Nishad
  • 31
  • 3
3
votes
1 answer

Display WordPress Custom post by Meta Data

I am trying to display my custom posts by date order from my meta_key in wordpress. It is a custom post for events happening and I need to display them in order of 'upcoming event' My code so far is: $today = date('d/m/y'); $args = array( …
DLaverick
  • 655
  • 5
  • 16
2
votes
0 answers

Verifying Userprofile "Uniqueness" of Meta Value at the time of creation for wordpress user custom field meta-key "association_id"

I have a custom user profile field "association_id". I can see the field the underlying wordpess db table (usermeta) with the 'meta_key' as "association_id" and the 'meta_value' whatever that I maintain for each user. add_action(…
2
votes
1 answer

can not use ctrl+C in Pycharm under win7

How to change "copy and paste" into ctrl+c/v ?? Thx !!! I don't know what meta key is. Pic of edit menu
hvchys
  • 41
  • 2
  • 8
2
votes
3 answers

how to get product attribute(all) in "catalog_product" collection?

i want to get all attribute of the product in the product collection. i've try this $samp_pro = Mage::getModel('catalog/product')->load(1223)->getData(); it'll load attribute meta keyword. But when i load it in collection ,doesn't get the meta…
MeenakshiSundaram R
  • 2,837
  • 3
  • 29
  • 41
1
2 3 4 5 6 7 8