Rakesh Raja
Forum Replies Created
-
Try this plugin..
Forum: Hacks
In reply to: TinyMice button for a shortcodeSolved!
Here is the url when you need to go!
Hi TJ
Yes I found the solution.
Here is the solution.
Actually you must create a content.php file for the post content.. I did that and it worked ??
Forum: Fixing WordPress
In reply to: Pagination not working on category template with permlinksHi graphical_force
Here is the link
https://www.wpguru.in/themes/pix/credits/
Let me also tell you I am using my own custom theme.
Forum: Fixing WordPress
In reply to: Remove /category/ from archive's permalinkHi
Just install “WP No Category Base” plugin.
Simple!
Regards
Forum: Fixing WordPress
In reply to: Single post page for custom post type‘rewrite’ => array( ‘slug’ => ”, ‘with_front’ => false),
I have added this too still question is how to make single page template for custom post type working with permalinks?
Forum: Fixing WordPress
In reply to: Single post page for custom post typeYes.. I do.. But I think I found the problem.. It’s permalinks which are causing the problem..
I am using
/%postname%/
and its not working but If I use default than it works.. any solution for this?Forum: Hacks
In reply to: Use CSS value from theme style options page?Can you provide a sample code please? How to use wp_head ?
Forum: Themes and Templates
In reply to: Java script support on my Theme options pageHere is solution, Now you can use any jQuery or javascript code in your theme options page
Just make sure you add following action before you load your options page data..
add_action('admin_print_scripts', 'my_admin_head_script');
Right after it create functions we used above and add all your code and javascripts there.. thats it!
<?php function my_admin_head_script() { ?> <script src="<?php echo get_template_directory_uri() . '/wpgpanel/js/jquery.js'; ?>" type="text/javascript" charset="utf-8"></script> <script src="<?php echo get_template_directory_uri() . '/wpgpanel/js/jquery.tabify.js'; ?>" type="text/javascript" charset="utf-8"></script> <script type="text/javascript">// <![CDATA[ $(document).ready(function () { $('.wpgpanelmenu').tabify(); }); // ]]> </script> <?php } ?>
Cheers
Forum: Themes and Templates
In reply to: Java script support on my Theme options pageThat I have done already for actual .js files
wp_enqueue_script( 'theme-options', get_template_directory_uri() . '/wpgpanel/js/jquery.js' ); wp_enqueue_script( 'theme-options', get_template_directory_uri() . '/wpgpanel/js/jquery.tabify.js' ); ?>
But to make tabs work.. I need to add above code directly in theme options file.. and its not working
<script type="text/javascript">// <![CDATA[ $(document).ready(function () { $('.wpgpanelmenu').tabify(); }); // ]]> </script>
Forum: Fixing WordPress
In reply to: Custom widget – checkbox not working partiallyhere is the solution.. the code I used was valid till 2.8.. in latest version.. I need to use “on” instead of “true”.. like
checked( $instance['show_sex'], true )
doesnt work but i need to use$instance['show_sex'], 'on' )
Forum: Themes and Templates
In reply to: Theme options tabsI want to have tabs something like this
https://www.webpagescreenshot.info/img/583447-925201234324PM
Regards
Forum: Fixing WordPress
In reply to: login via url parametersYeah Egado I know that, but just seeing if there is any chance ??
I will accept any XMPRPC solution too like I saw a plugin ManageWP. It uses a plugin in remote WordPress site to gain access in Master installation
Forum: Fixing WordPress
In reply to: Loop within loopThanks Alchymyth… it worked
here is final code for other people
<?php query_posts( array( 'post_type' => 'episode') ); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <?php $my_meta = get_post_meta($post->ID,'_my_meta',TRUE); ?> <h1>Episode :<?php echo get_post_meta($post->ID, 'episode', true) ?></h1> <h2><?php echo get_post_meta($post->ID, 'season', true) ?></h2><Br /><br /> <?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?> <?php endwhile; endif; ?> <?php $query = new WP_Query( array ( 'post_type' => 'performance', 'meta_key' => 'episode', 'meta_value' => '1' ) ); while ( $query->have_posts() ) : $query->the_post(); ?> <li><?php the_content( __( 'Continue reading <span class="meta-nav">→</span>', 'twentyeleven' ) ); ?></li> <?php endwhile; ?>
Forum: Fixing WordPress
In reply to: List unique value of custom fieldHi
I have done it myself with pure mysql query..
can you tell me how can I achieve this by using $wpdb?
regards