Forum Replies Created
-
AuthorPosts
-
November 21, 2024 at 12:01 am in reply to: Lightbox: disable click through other images on page #1471805
Thanks so much for the replies. However, both of these yield the opposite result: instead of removing the arrows, it keeps the arrows and loads text that says “the image cannot be loaded”.
July 29, 2023 at 7:44 pm in reply to: Pagination for Custom Post Type with Advanced Custom Fields #1414852Oh 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 Issuesfunction 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’ ); ?>July 28, 2022 at 3:37 pm in reply to: Mobile after update: Extra space, plus mobile menu has a # problem #1359706I am running SG Optimiser and your solution worked. Thanks so much for the prompt reply!
July 28, 2022 at 1:37 am in reply to: Mobile after update: Extra space, plus mobile menu has a # problem #1359627I’m having the same problem. The mobile menu doesn’t open. I’ve tried Firefox, Safari, and Chrome.
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.
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
I’d like to follow this just to get updated when there is a solution to this problem.
Thanks Rikard!
That solved it on my dev site. I’ll implement it on our live site when they get the video done.
Beth
Go ahead and close it.
Thanks!
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.
BethI did add that to quick css and it has not solved the problem.
Note: I am using a child theme, but I did try activating the parent theme and that did not solve the problem.
Thanks Sarah, no further help needed. Rudtek’s solution is enough.
Beth
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.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.
November 29, 2016 at 12:25 am in reply to: Enter key not working inside Advanced Layout editor #718058I 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
-
AuthorPosts