Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)
  • Author
    Posts
  • Oh sorry – to clarify, I’m making the plugin myself, just so I can use a shortcode to display the loop. There’s no real plugin website and no support, it’s just me trying to get a loop to work with pagination. Looking for the right code snippet. The custom post type was created for use with the previous theme (and not by me) and I’m trying to modify the use of it for Enfold. The previous setup used Custom Post Type Maker, and made a custom post type but didn’t use the taxonomy module.
    Maybe the custom post type/taxonomy setup is what’s not done correctly?

    Here is the code from my attempt so far:
    // Create Shortcode to display Past Issues

    function wmnpress_shortcode_eedition_post_type(){ ?>

    <?php
    $args = array(
    ‘post_type’ => ‘eedition’,
    ‘posts_per_page’ => 12,
    ‘paginate’ => ‘yes’,
    ‘use_main_query_pagination’ => ‘yes’,
    ‘order’ => ‘DESC’,
    ‘orderby’ => ‘date’,
    );
    $the_query = new WP_Query( $args ); ?>
    <?php if ( $the_query->have_posts() ) : ?>
    <?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
    <div class=”past-editions flex_column av_one_third avia-builder-el-2 el_after_av_textblock el_before_av_one_third flex_column_div column-top-margin”>
    <section class=”av_textblock_section “>
    <div class=”avia_textblock” itemprop=”text”>
    <p>
    ” target=”_blank” rel=”noopener”>” alt=”Newspaper cover page” width=”793″ height=”1024″ />” target=”_blank” rel=”noopener” data-wplink-edit=”true”><?php the_title(); ?>
    </p>
    </div>
    </section>
    </div>
    <?php endwhile; ?>

    <?php wp_reset_postdata(); ?>

    <?php endif;
    }
    add_shortcode( ‘eedition-display’, ‘wmnpress_shortcode_eedition_post_type’ ); ?>

    I am running SG Optimiser and your solution worked. Thanks so much for the prompt reply!

    I’m having the same problem. The mobile menu doesn’t open. I’ve tried Firefox, Safari, and Chrome.

    in reply to: Unable to add custom fonts #1331213

    Oh thank you so much that worked. I’ve not encountered that problem before, I must have been working with a different host when I’ve added icons in the past.

    in reply to: Unable to add custom fonts #1331051

    I have this exact same problem. I downloaded the zip file from the Fontello page. Just now, based on Nikko’s description of the solution, I extracted the zip file, then zipped the ‘font’ folder and uploaded that folder from the import page in the theme settings. The zip files are in the media library but I continue to get the same error message. “Couldn’t add the font because the server didn’t respond.Please reload the page, then try again”. The server is responding for everything else.

    Can you help? Login in private content

    in reply to: Instagram widget in Enfold 4.7 #1179194

    I’d like to follow this just to get updated when there is a solution to this problem.

    in reply to: Video background not displaying correctly #986587

    Thanks Rikard!

    That solved it on my dev site. I’ll implement it on our live site when they get the video done.

    Beth

    in reply to: Mobile menu showing above header on desktop #879912

    Go ahead and close it.

    Thanks!

    in reply to: Mobile menu showing above header on desktop #879405

    Correct, that code did not hide it, which gave me a hint that I’m having a caching problem. So I disable W3 Total Cache and that solved it (so now I have a new problem, but the new problem is not your problem).

    Thanks for your help.
    Beth

    in reply to: Mobile menu showing above header on desktop #879392

    I did add that to quick css and it has not solved the problem.

    in reply to: Mobile menu showing above header on desktop #879386

    Note: I am using a child theme, but I did try activating the parent theme and that did not solve the problem.

    in reply to: adding a sidebar to my cpt archive #818955

    Thanks Sarah, no further help needed. Rudtek’s solution is enough.

    Beth

    in reply to: adding a sidebar to my cpt archive #818919

    Thanks Rudtek,
    That works for me. Thanks for solving this!
    I agree it’s preferable not to use a plugin just to call a sidebar in a template, this is a much better solution.

    in reply to: adding a sidebar to my cpt archive #818004

    I have the same question. I used the custom widget feature in the widgets area. Then on my cpt custom single page I tried adding the name of the sidebar to my template like this: get_sidebar(‘alumni-area’); but using all combos of the name of the widget with space between words, dash between, case sensitive, all lowercase. So that may not be the way it’s done.

    Should I open a new ticket? Or stay with this, as it’s the same question.

    in reply to: Enter key not working inside Advanced Layout editor #718058

    I have updated to 3.8 and the enter key is still not working. I’ve found out that there is a plugin conflict with Advanced Custom Fields. Since this is quite an important and widely used plugin, would you consider working with them on the conflict? I have not inquired with them yet, but I am willing to do so.

    This site is still in maintenance mode, but it will be launched on December 1st (Thursday). After that date we won’t be able to test in any way that will break the site for visitors. there will be an announcement in a publication shortly after launch. I could set up a dev site if that is necessary.

    Beth

Viewing 15 posts - 1 through 15 (of 15 total)