jaseemts
Forum Replies Created
-
Forum: Plugins
In reply to: [Simple Author Box] Custom Post typeHey Punit,
You can manually call Author Box by adding this line of code in single.php
<?php if ( function_exists( 'wpsabox_author_box' ) ) echo wpsabox_author_box(); ?>
Set “Manually Insert the Simple Author Box” to “Yes” from General Options.
So for Custom Post Types, you simply don’t have to call the Author Box.
Hope this will solve your problem.
- This reply was modified 7 years, 11 months ago by jaseemts.
You can try testing and commenting out here – https://goo.gl/VA6YR
@bingie2680 Yes, it absolutely works perfectly when I disable the plugin, and use the default wordpress settings. But I need the things working along with the plugin as its ajaxified and paginated together.
The site is still online. And there are lot of posts out there.
@bingjie2680 Yes, ofcourse tried all those. Nothing seems working out ??
No, I get the comments as paginated. Thats not the problem I’m facing.
As I have used
[cleanarchivesreloaded posttype=”animation”]
[cleanarchivesreloaded posttype=”madeonipad”] and
[cleanarchivesreloaded posttype=”posts”]– all in the same page, the cache stores the first query and displays the same archives (of animation post-type) at all the 3 places.
In order to solve this, I just removed
// If we have a cached copy of the filtered posts array, use that instead // if ( $posts = wp_cache_get( 'posts', 'clean-archives-reloaded' ) ) // return $posts;
PS: I’m so sorry about the bad coding practise, just letting anyone know there is one odd way to implement this.
Thats great, Alex ??
As for now, I have achieved the same with some really bad code ??
https://pastebin.com/sYRTFuZrAdded an extra parameter “posttype” in shortcodes.
[cleanarchivesreloaded posttype=”animation”]
Forum: Fixing WordPress
In reply to: Archive.php Show post links under each categoryHi,
I was trying to do something similar. To display on sidebar
– April 2010
– Post 1 // should be link
– Post 2 // should be link
– March 2010
– Post 1 // should be link
– Post 2 // should be linkSo, basically – showing all the monthly archives, but no link to “April 2010” or “March 2010” – but links to the posts within that point to their single.php.
Hope the question is clear.
Anyone with a solution ?
Thanks in advance.Jaz
Yes. Write this code in the page template.
<div id=”contact-form-box”>
<?php echo do_shortcode( ** put contactform7 shortcode here ** ); ?>
</div><!– ends #contact-form-box –>Give #contact-form-box{ display: none; }
In custom menu, make a new one with url https://www.site.com#contact-form-box
Use a ColorBox plugin and get Inline HTML style from the demo.
I guess, you should be able to work it out that way.
@naga2012 – Make a page. Add shortcode there. Use a lightbox plugin.
eg: Click “Submit” in https://tintumon.com/
into.parent().css(‘background-color’, ‘red’); Worked ?? Double parent found the outer div of form ??
Thank you so much Shecky. I love the community ??
@@shecky Have tried both ?? even $parentDiv.hide() isn’t working ?? Any idea ? Thanks for replying !
This the code that got moderated – https://pastebin.com/NB00iAgf
@scribu Thanks a lot. Yes, I figured it out, it was the jQuery version.