reypm
Forum Replies Created
-
Forum: Plugins
In reply to: [Meta Box] Set values for select_advanced field typeHi, excellent but because I have a lot of post this option is not suitable for me since page get too slow which leads me to the next question, can I do the same using Select2 Ajax functionality? How?
Forum: Plugins
In reply to: [Meta Box] Set values for select_advanced field typeOk, researching for a possible solution I’ve found this at
demo.phpfile:array( 'name' => __( 'Select', 'meta-box' ), 'id' => "{$prefix}select_advanced", 'type' => 'select_advanced', // Array of 'value' => 'Label' pairs for select box 'options' => array( 'value1' => __( 'Label1', 'meta-box' ), 'value2' => __( 'Label2', 'meta-box' ), ), 'multiple' => false, 'placeholder' => __( 'Select an Item', 'meta-box' ), )Now, how do I get all the post from the DB?
I send you a message through the contact form
HI Tom, I’m using a custom theme developed for someone (is not public even, although I can send you the theme if you need it) I just need a checklist to find where the issue could be and try to fix it.
Hi, well I have tested with twentyfifteen and didn’t work, same issues as before. I changed to twentyfourteen and it works. Now could you help me find what’s wrong in my theme or what I’m missing?
Hi Tom, done
1. No console errors at all (Screenshooot)
2. This is the screenshoot for the admin-ajax.php call in Network tab (Screenshoot)Hi @tom, thanks for your answer, I have disabled all the plugins but issue remain, any other clue?
Hi, no, sadly I didn’t and I leave it as it since haven’t answer from support
Hi, no, sadly I didn’t and I leave it as it since haven’t answer from support
Forum: Plugins
In reply to: [Table of Contents Plus] Display TOC in a single.php page, it's possible?This is how my code looks like:
<?php get_header(); ?> <?php $thePostID = get_the_ID(); ?> <div id="content"> <div class="legislacion-col-izq"> <div class="CajaIzq"> <div class="shortcodeToc"> <?php $children = new WP_Query( array( 'post_parent' => $thePostID, 'posts_per_page' => - 1 // get all children ) ); while ( $children->have_posts() ) { $children->the_post(); echo '<h3>' . get_the_title() . '</h3>' . '<ul>' . toc_get_index( get_the_content(), get_permalink( $children->post->ID ) ) . '</ul>'; } wp_reset_postdata(); ?> </div> </div> </div> <div class="legislacion-col-der"> <div class="CajaContenido"> <h1 class="titulo"><?php the_title(); ?></h1> <?php if ( have_posts() ) : ?> <?php while ( have_posts() ) : the_post(); ?> <?php $options = get_option( 'responsive_theme_options' ); ?> <?php if ( $options['breadcrumb'] == 0 ): ?> <?php echo responsive_breadcrumb_lists(); ?> <?php endif; ?> <div id="post-<?php the_ID(); ?>"> <div class="post-entry"> <?php the_content( __( 'Read more ›', 'responsive' ) ); ?> <?php wp_link_pages( array( 'before' => '<div class="pagination">' . __( 'Pages:', 'responsive' ), 'after' => '</div>' ) ); ?> </div> <!-- end of .post-entry --> <?php if ( comments_open() ) : ?> <div class="post-data"> <?php the_tags( __( 'Tagged with:', 'responsive' ) . ' ', ', ', '<br />' ); ?> <?php the_category( __( 'Posted in %s', 'responsive' ) . ', ' ); ?> </div><!-- end of .post-data --> <?php endif; ?> <div class="post-edit"><?php edit_post_link( __( 'Edit', 'responsive' ) ); ?></div> </div><!-- end of #post-<?php the_ID(); ?> --> <?php comments_template( '', true ); ?> <?php endwhile; ?> <?php if ( $wp_query->max_num_pages > 1 ) : ?> <?php if ( function_exists( 'wp_paginate' ) ) { wp_paginate(); } ?> <?php endif; ?> <?php else : ?> <h1 class="title-404"><?php _e( '404 — Fancy meeting you here!', 'responsive' ); ?></h1> <p><?php _e( 'Don't panic, we'll get through this together. Let's explore our options here.', 'responsive' ); ?></p> <h6><?php printf( __( 'You can return %s or search for the page you were looking for.', 'responsive' ), sprintf( '<a href="%1$s" title="%2$s">%3$s</a>', esc_url( get_home_url() ), esc_attr__( 'Home', 'responsive' ), esc_attr__( '← Home', 'responsive' ) ) ); ?></h6> <?php get_search_form(); ?> <?php endif; ?> </div> <!-- end of .CajaContenido --> </div> <!-- end of .legislacion-col-der --> </div><!-- end of #content --> <?php get_footer(); ?>But is not working since none index is displayed, what I’m doing wrong?
Hi Marcin, I think you misunderstood my answer I’m not talking about the field itself but the raw content created by the CPT. The Types plugin is working fine and I have created a CPT but now I want to show that content in a page at frontend, that is what I’m looking for, any advice on this?
Forum: Plugins
In reply to: [Widget Logic] is_home() and is_front_page() doesn't workThanks I’ll ask to developer
Forum: Plugins
In reply to: [Widget Logic] is_home() and is_front_page() doesn't workFor some reason links didn’t work, here it’s
http: / / themeforest.net/item/news-grid-wp-magazine-theme/5624719Forum: Plugins
In reply to: [Widget Logic] is_home() and is_front_page() doesn't workForum: Plugins
In reply to: [Facebook Comments] Set width to 100% instead of 100pxApparently is not possible to modify iframe external sources, no with CSS no with Javascript so I tough there is not way to avoid this anyway if someone knows will be good for us