pvashist75
Forum Replies Created
-
Forum: Plugins
In reply to: [ContestFriend for WordPress] Is There a Way to Duplicate/Clone a Contest?I also tried many ways but had to custom code as there was no other way.
One small change has to be made in one of the plugin files directly. Its not much.
I just added a single line code to table-contest.php file located in tables directory of contest friend plugin. On line number 129 just add:$actions['clone'] = '<a href="'.admin_url('admin.php?action=cf_clone&post='.$item->ID).'">'.__('Clone').'</a>';
This will add Edit link under each contest in admin listing.
Then I used the code from a tutorial which worked perfectly. Here’s the link: Duplicate post without pluginAt final redirect in the tutorial code I added this:
wp_redirect( admin_url( 'admin.php?page=cf_page_list&orderby=title&order=asc&clone=success&new_post='.$new_post_id ) );
For success message add
if($_GET['clone']=='success' && isset($_GET['new_post'])){ echo '<h3 style="border:1px dotted red;padding:10px;">New contest cloned succcessfully. Contest id = '.$_GET['new_post'].' </h3>'; }
to page-list.php file in contestfriend/pages/ directory.
Its just my version. Hope it helps. Please share if any other way or improvements on this.
Great get post meta worked. May i am doing something wrong with types render field.
Thanks a lot.
Forum: Plugins
In reply to: [Slideshow Gallery LITE] CompabililtyNot really. I wasn’t able to look into the matter as the project is closed for now. There was alot of custom code in the site so may be some code was conflicting. Please make this topic as closed. Thanks for the help.
Forum: Localhost Installs
In reply to: can't find my siteWhich OS are you using? I mean is the setup on linux or windows or mac. Just try installing a new wordpress setup and check if it works
Forum: Fixing WordPress
In reply to: Need to show user nice name in comment listingSorry found that i was using a callback written in functions file. Changing the code in that did the job
Hi just checked but didn’t find any issue on the console. The page just shows loading image and then the part is just blank. Surely its something related to ajax or javascript but i am not able to figure it out. Can there be a memory issue?
Forum: Plugins
In reply to: [User Profile Picture] Need to check whether profile pic is set or not.Thanks for the information. Exactly this is what i was looking for.
Forum: Localhost Installs
In reply to: renaming index.phpYes please share your code that you are using for the page. May be there’s something missing which we can correct.
Forum: Fixing WordPress
In reply to: Subdirectory Install issueJust try to check your .htaccess file. I don’t think you need to edit default index files.
If you are able to access admin then try to check the site url in the settings but most probably you need to check the .htaccess for correct url or directory path.
well the url you mentioned is showing nothing
Forum: Fixing WordPress
In reply to: changed urlForum: Fixing WordPress
In reply to: changed urlOne simple solution is to try it with the new URL that you entered.
Other solution can be through database. Do you have access to mysql or phpmyadmin?Forum: Plugins
In reply to: [Nice Login Widget] Need help with login redirectThanks for the reply. I did this by changing some code meanwhile as it was needed urgently.
Forum: Plugins
In reply to: [WooCommerce] Not able to enable a Payment gatewayHi
I am stuck with the same problem. i guess the integration kits provided by EBS are not updated. I am trying to create a custom plugin for this gateway but i all i am able to do id get error messages.Please update here if you find something.
thanks
Forum: Fixing WordPress
In reply to: Why is my media file not showing up when I attached it to my page?Are you able to see it on the editor? if it is getting inserted then it should show in the visual editor or in text/html editor some code will appear.
Forum: Fixing WordPress
In reply to: wp-content/uploadsDoes it show any error in the admin when uploading a new image? And for directory have you set the 777 permission?