awpt
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: White screen deathif you didnt install anything as a plugin or theme after installation check the root folder via ftp software maybe you have an empty index.html file together with the index.php of your wordpress
Mod security is a part of your web hosting (an apache module), Would be better to drop a mail to your web hosting support but Im not sure if your problem is there, in my case I resolved by deactivating mod security as I said you bove.You can check your Cpanel and search for Mod Security
The solution on my side is the mod security.If you have mod security enabled you must to disable it
Thanks to UM Support they told me and I disabled and everything is going fine now.
Forum: Plugins
In reply to: [Related Videos for JW Player] The feed not workingFinaly Got it working I resaved the permalinks and tried another category http://localhost/category/best-music/?feed=related-feed and everything is fine thankyou verymuch for the plugin Im going to realease my theme and I will suggest your plugin to my clients.
Have a nice day.
EDIT:
Maybe it can help others
I have used the variable to get the first category name of the post using
$category_id = get_the_category($post->ID);and just added the code to get the right category feed for each post:
<?php get_category_link( $category_id ); ?>/?feed=related-feedForum: Plugins
In reply to: [Related Videos for JW Player] The feed not workingOh I just typed http://localhost/category/action/?feed=related-feed
removing the archive and I got this screen
http://s16.postimg.org/lceql2rph/image.pngin action category I have 8 posts but I dont see in the feed
Forum: Plugins
In reply to: [Related Videos for JW Player] The feed not workingHi thanks for the quick reply, no Im developing a theme and the player is added in directly in theme so everything is working fine.
my code is this one
<?php $src = wp_get_attachment_url( get_post_thumbnail_id($post->ID) ); $video = urlencode($video); $video = get_post_meta($post->ID,'awpt_videourl', true); $sefurL = get_bloginfo('template_url', true); if(get_option('awpt_jwkey')){$key = get_option('awpt_jwkey');}else{$key = '7lTPCF2LvWYLPfF2COF0CAmrW8vMnodJ4P7OEg';} $logoimage = stripslashes(get_option('awpt_jwlogo')); $logolink = stripslashes(get_option('awpt_jwlink')); $skin = stripslashes(get_option('awpt_jwskin'));?> <script type="text/javascript" src="<?php echo $sefurL; ?>/jwplayer/jw/jwplayer.js" ></script> <script type="text/javascript">jwplayer.key="<?php echo $key; ?>";</script> <div id="ply"> <script type="text/javascript"> var jw = jwplayer("ply").setup({ file: '<?php echo $video; ?>', image:"<?php echo $src; ?>", flashplayer: "<?php echo $sefurL; ?>/jwplayer/jw/jwplayer.flash.swf", width: "100%", aspectratio: "4:3", startparam: "start", autostart: false, primary: 'html5', logo: { file: '<?php echo $logoimage; ?>', link: '<?php echo $logolink; ?>', position: "right-bottom", }, skin : { url:"<?php echo $sefurL; ?>/jwplayer/jw/skins/<?php echo $skin; ?>.css", name:"<?php echo $skin; ?>" }, related: { file: "http://localhost/archives/category/action/?feed=related-feed" } }); </script> </div>I dont have a live link because Im testing localy but what I need is only the right feed because the jwplayer code is right, as I said when I put http://content.jwplatform.com/related/C4lp6Dtd.xml its ok but I was looking something to generate the xml wich grabs the wordpress posts and I found your plugin but I dont know what Im doing wrong. There is no feed file generated for my categories.
yes this is exactly what I need thankyou so much finaly my theme is ready to publish thankyou again..
Forum: Plugins
In reply to: [Favorites] Can we add the button using any shortcode?Thanks Kyle for your fast response realy great worked also for the custom post types thankyou 😉
Oh please ignore my question just found the problem was in a css file of my theme its not a plugin issue
label:after { content:'<>'; font:11px "Consolas", monospace; color:#aaa; -webkit-transform:rotate(90deg); -moz-transform:rotate(90deg); -ms-transform:rotate(90deg); transform:rotate(90deg); right:8px; top:2px; padding:0 0 2px; border-bottom:1px solid #ddd; position:absolute; pointer-events:none; } label:before { content:''; right:6px; top:0px; width:20px; height:20px; background:#f8f8f8; position:absolute; pointer-events:none; display:block; }this was causing the issue thanks for the plugin great job