Up to 50 percent off

How to limit content in WP SEO description field?

This topic contains 11 reply and 2 voices, and was last updated by jazib 10 years, 8 months ago
Viewing 11 Posts - 1 through 11 (of 11 total)
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 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 functions.php in http://pastebin.com maybe, so I can have a look?

March 4, 2014 at 3:59 pm 16139
jazib jazib This reply has been marked as private.
March 4, 2014 at 4:01 pm 16140
jazib 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 Tareq Hasan

That should be ok http://pastie.org/private/escpzckveofre6xslv2ksg

March 4, 2014 at 7:26 pm 16148
jazib 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.
Please suggest me what to do in this regard.

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 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 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 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 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 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 jazib

Thanks a lot tareq. That’s what i really want. It solved all my issues. Wonderful support.

Viewing 11 Posts - 1 through 11 (of 11 total)