Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Wali Hassan Jafferi

    (@walihassan)

    Hi,

    Thank you for reporting the bug. I just tested and looks like it just needs a little change in code. I will push it with next plugin update.

    For now, if you want to fix it, please open File: classes/dsp_user_settings.php

    and change this code from line 30 to line 38

    <td><input type="radio" name="dsp_video_post_status[radio]" value="publish" <?php checked('publish', $dsp_video_post_status['radio']); ?> />Publish
    			<input type="radio" name="dsp_video_post_status[radio]" value="draft" <?php checked('draft', $dsp_video_post_status['radio']); ?> />Draft
    			</td>
    			</tr>
    			<?php $dsp_video_post_format = get_option('dsp_video_post_format'); ?>
    			<tr valign="top">
    			<th scope="row">Post Format</th>
    			<td><input type="radio" name="dsp_video_post_format[radio]" value="standard" <?php checked('standard', $dsp_video_post_format['radio']); ?> />Standard
    			<input type="radio" name="dsp_video_post_format[radio]" value="video" <?php checked('video', $dsp_video_post_format['radio']); ?> />Video

    to this code

    <td><input type="radio" name="dsp_video_post_status" value="publish" <?php checked('publish', $dsp_video_post_status); ?> />Publish
    			<input type="radio" name="dsp_video_post_status" value="draft" <?php checked('draft', $dsp_video_post_status); ?> />Draft
    			</td>
    			</tr>
    			<?php $dsp_video_post_format = get_option('dsp_video_post_format'); ?>
    			<tr valign="top">
    			<th scope="row">Post Format</th>
    			<td><input type="radio" name="dsp_video_post_format" value="standard" <?php checked('standard', $dsp_video_post_format); ?> />Standard
    			<input type="radio" name="dsp_video_post_format" value="video" <?php checked('video', $dsp_video_post_format); ?> />Video

    This should fix it.

    Thread Starter gyjafar

    (@ghulamjafar2)

    Great
    This code resolved the issue.
    One thing more that i did not mentioned before.
    An other problem related to USER SETTINGS>>post status. I was setting post status to publish but as i was to edit post, it looked non published, but now this new code has also resolved this issue. Great job Wali Hassan Jafferi.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Post Format’ is closed to new replies.