How to limit content in WP SEO description field?
Author | Posts |
---|---|
March 4, 2014 at 10:45 am 16125 | |
jazib | I tried to Put this code in functions.php of my theme `function wpufe_limit_text() { ?> |
March 4, 2014 at 2:32 pm 16128 | |
Tareq Hasan | Somehow the code didn’t come along. I am sure there is something wrong with your copy/paste. Can you put your whole |
March 4, 2014 at 3:59 pm 16139 | |
jazib | This reply has been marked as private. |
March 4, 2014 at 4:01 pm 16140 | |
jazib | Please add the code in this functions php file and send me. so that i update it. Further, i need to add a column and row code as well. If possible add that as well in this file. I will rename the column header as per my choice. Thanks |
March 4, 2014 at 5:58 pm 16143 | |
Tareq Hasan | That should be ok http://pastie.org/private/escpzckveofre6xslv2ksg |
March 4, 2014 at 7:26 pm 16148 | |
jazib | Thanks Tareq. It works perfectly. Now i want to ask you a question. Actually, I want to achieve a column of earnings that shows earning infront of each post like 2 dollars fixed or can be variable. Your plugins is to generate revenue but i am going to use it to pay my users who will post articles on my site. Like 2 dollars per article. So i have to show earnings column in the dashboard. I also didn’t know how to put some text in the row of newly added column in dashboard. Thanks again for your awesome support. |
March 4, 2014 at 11:55 pm 16157 | |
Tareq Hasan | The easiest solution would be to put the earning in each posts meta key and show that in dashboard. |
March 5, 2014 at 12:07 am 16161 | |
jazib | Can you please tell me where i can find each post meta key….? how to edit it or enter some text infront of each post? |
March 5, 2014 at 12:13 am 16164 | |
Tareq Hasan | You can do that in every posts edit area in wp-admin panel. There should be a box called “Custom Fields”. If you don’t see it, activate it by clicking the “Screen Options” button at the top right corner of your screen. On the “Custom Fields” meta box, you can see the public meta keys and values, also you can create new and edit them. |
March 5, 2014 at 4:41 am 16176 | |
jazib | That’s great. I checked custom fields. I have to select a custom field and then enter value. Now, i am not understanding it which custom field to select. One more thing, my theme is using views custom field. It counts visits per page and i have all the information like custom field value and description and now i want to add one more column in dashboard that shows my users how many views their posts get. Please update me with any suitable solution. And thanks a lot for your wonderful support. |
March 5, 2014 at 12:20 pm 16192 | |
Tareq Hasan | Here: http://pastie.org/private/qeflmrxjd2lvbraltxqhka. Change the custom field to your preferred custom field. May be some google search will make you better understanding the custom fields 🙂 |
March 5, 2014 at 2:06 pm 16199 | |
jazib | Thanks a lot tareq. That’s what i really want. It solved all my issues. Wonderful support. |