amadhav1
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: using is_super_admin() in a pluginThanks a lot, I used after_theme_setup and it works great.
Thanks again.
Aaron
Forum: Plugins
In reply to: [Swifty Page Manager] hide page function not showing upHi Noemi,
I installed the swifty site plugin, and i see the hide. I am still having issues though, when I hide a page, it is still showing up. Do I need to add anything to my query when I display the menu?
Thanks,
Aaron
Hello,
I made the fix that you suggested, however I am still unable to find any search results. I am trying to display basic results with Relevanssi turned on, and I am unable to get any results. This is my basic search results page for looks like, but it does not return results, and if I turn off the plugin I get 11 results.
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h2 class="media-heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php endwhile; else: ?> <p><?php _e('Sorry, no results found.'); ?></p> <?php endif; ?>
Any Idea why I can’t get any results?
Thanks,
Aaron
- This reply was modified 7 years, 6 months ago by amadhav1.
Thanks,
I deactivated the plugin, and reactivated it. Now it is working without sending the errors.Thanks,
Aaron
Forum: Plugins
In reply to: [Nested Pages] hide pagesThanks, I got it to work.
Aaron
Hi Tobias,
It would be great if you could have it associated with a tablepress table, so it would show “Uploaded to <tablepress table name>”. even if it isn’t for a page.
Thanks,
Aaron
Hi Mikko,
This is what I have for my site-search.php
<?php /* The template for displaying Search Results pages.*/ ?> <?php get_header(); ?> <div class="row"> <h1 class="search-title"> <?php _e( 'Search Results Found For', 'locale' ); ?>: "<?php the_search_query(); ?>" </h1> <?php global $query_string; $query_args = explode("&", $query_string); $search_query = array(); if( strlen($query_string) > 0 ) { foreach($query_args as $key => $string) { $query_split = explode("=", $string); $search_query[$query_split[0]] = urldecode($query_split[1]); } // foreach } //if $search = new WP_Query($search_query); if ( $search->have_posts() ) : while ( $search->have_posts() ) : $search->the_post(); ?> <div class="media"> <div class="media-left media-middle"> <?php if ( has_post_thumbnail() ) { echo "<div class='media-object'>"; the_post_thumbnail( 'thumbnail' ); echo "</div>"; }?> </div> <div class="media-body"> <h2 class="media-heading"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> <?php the_excerpt(); ?> <?php if(get_post_type( get_the_ID() )=='exhibit'){ e?> <p><a href="<?php the_permalink(); ?>" class="btn btn-info">Continue Reading</a> </p> <?php } ?> </div> </div> <?php endwhile; else: ?> <p><?php _e('Sorry, no results found.'); ?></p> <?php endif; ?> <!-- pagination --> <?php custom_pagination(); ?> </div> <?php get_footer(); ?>
Any Idea why I can’t get results with relevanssi?
Thanks,
Aaron
Forum: Networking WordPress
In reply to: Change parent multisite url (https)Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Multiple calendars on one websiteyou need to add the shortcode to any page [ai1ec view=”monthly” cat_id=”1″]
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Previous month button label gone….I’m seeing the same thing, It was there then with the latest wp and plugin update it disappeared.
Thanks
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Use todays date as the event start dateAny IDeas how I can do this?
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Use todays date as the event start dateHello,
Any Ideas on how I can do this on my home page?
Thanks,
Aaorn
Forum: Plugins
In reply to: [Redirection] WordPress database error Table doesn't exist for queryI was not able to get the developer to respond, so I switched over to Safe Redirect Manager(https://www.ads-software.com/plugins/safe-redirect-manager/). This works basically the same way.
Thanks,
Aaron
Hello Benjamin,
That’s fine, I did try to embed the code above on a seperate page that is not the calendar page, when I do this the embed code is adding extra line breaks and paragraphs into the code. Have a look at, https://studentaffairs.jhu.edu/hso/current-season/hidden-calendar/.
Do you know how I can fix this issue?
Thanks,
Aaron
Forum: Fixing WordPress
In reply to: Adding a .PHP file to a child themeI have not tested this buy you may be able to try this plugin out.
https://www.ads-software.com/plugins/orbisius-child-theme-creator/
or this plugin
https://www.ads-software.com/plugins/child-theme-configurator/