sweettea2
Forum Replies Created
-
Forum: Plugins
In reply to: [Scripts To Footer] Unable to Add Media to Posts/PagesHi Joshua:
I’m having this same issue with the plugin. I turned on the Javascript Console when inserting a media object and it said “Uncaught RangeError: Maximum call stack size exceeded.”
The line it referred to was the one that started with “window.send_to_editor = function (html)” in the cmb.js file.
Hope that helps! Thanks for your work on this plugin.
Forum: Plugins
In reply to: [Yoast SEO] Index, Follow Robots Meta not showing upIt looks like according to this page (https://www.robotstxt.org/meta.html)…
If there is no robots <META> tag, the default is “INDEX,FOLLOW”, so there’s no need to spell that out.
So I think I answered my own question…sorry about that. Thanks!
Forum: Plugins
In reply to: [Posts in Page] 1,2,3 Numbered PaginationThanks much for the help! I don’t really understand how to extend plugins with custom functions and am still very interested in learning how to do that with plugins such as yours! I ended up doing something different, though, for the job I was working on. Here’s what I did.
Installed the “Insert PHP Code Snippet” plugin. (I also had the WP PageNavi plugin installed.) Created new snippets for each category that I wanted a corresponding page for. Put something like the following in each snippet…
$paged = get_query_var('paged') ? get_query_var('paged') : 1; $query = new WP_Query( array('cat' => '2,5,9,12', 'paged' => $paged, 'post_per_page' => 10) ); if ($query->have_posts()) : while ($query->have_posts()) : $query->the_post(); get_template_part( 'content', get_post_format() ); endwhile; else: _e('Sorry, no posts matched your criteria.'); endif; wp_pagenavi(array( 'query' => $query ));
I also created a custom content template and used that to display only the excerpt of the posts.