admiralchip
Forum Replies Created
-
Forum: Hacks
In reply to: how to resize iframe height according to its content?Thanks for your reply! The site that I’m trying to put in an iframe is actually an html page (it’s mine!) that is within the same domain. I intend keeping that page in a folder so the url would be like https://mysite.com/myhtml/page.html
I’m currently working on it on WAMP so I currently don’t have a link. The iframe displays but the scroll bars are still there and the height of the iframe does not resize according to the height of the content.
Forum: Hacks
In reply to: require('fpdf/fpdf.php') not working in wordpress plugin?Nope, I tried it. It still doesn’t work. ??
Forum: Hacks
In reply to: require('fpdf/fpdf.php') not working in wordpress plugin?Thanks for the code! I’ll try it as soon as possible and give feedback.
Forum: Hacks
In reply to: require('fpdf/fpdf.php') not working in wordpress plugin?Thanks for your reply!
I’ve tried what you suggested and I echoed it. The path is correct however it still says that the file cannot be found.
Forum: Hacks
In reply to: How to use FPDF force download in custom plugin to force pdf download?Sorted it out. I wasn’t redirecting to the download page properly.
Forum: Hacks
In reply to: How to prevent double form submission?Thanks everyone for your help. It works now. I used the second option given by @diondesigns . ??
Forum: Hacks
In reply to: How can I pass some values in wordpress URL to hyperlink a search result?Figured it out. The problem was with the search result hyperlink.
Forum: Hacks
In reply to: how to retrive the number of rows returned from a query that uses CONCAT?Hi AJ,
Thanks a lot. It was
$wpdb->num_rows
. I had tried it earlier and it didn’t work. I tried it again then it did. Looks like I wasn’t using it correctly.Thanks again.
Forum: Hacks
In reply to: How to prevent double form submission?Thanks! I’ll give it a try.
Forum: Hacks
In reply to: How to prevent double form submission?Thanks for your reply!
I tried the code above but it didn’t work for me. Not sure why.
Forum: Themes and Templates
In reply to: [Smartline Lite] Remove Website Link from Footer Powered ByHi,
Just in case anyone is still looking for how to do this, you can try this:
See: https://www.ads-software.com/support/topic/how-i-cant-change-the-footer-copyright
function unhook_theme_functions() { remove_action( 'smartline_footer_text', 'smartline_display_footer_text' ); add_action( 'smartline_footer_text', 'smartlinechild_display_new_footer_text' ); } add_action('init','unhook_theme_functions'); function smartlinechild_display_new_footer_text() { ?> <span class="credit-link"> My Custom footer text here. <?php echo date('Y'); ?> </span> <?php }
Add the code to your theme’s functions.php file or you can make a functions plugin and add it in there.
Hope this helps.
Forum: Themes and Templates
In reply to: [Storefront] Storefront Sidebar (products pages)Thought I’d add something here:
For those who want to remove the space left after removing the sidebar, in case the css above doesn’t work, you can use the Simple Custom CSS plugin and put the css code there. I had that problem and using the plugin helped fix it.
Here is the plugin.
https://www.ads-software.com/plugins/simple-custom-css/Hope this helps someone.
Forum: Plugins
In reply to: [Simple Share Buttons Adder] Can't put sharing buttons on bbpress topicsI am hoping you can explain in which file and where abouts I place the code above so I can have social sharing in my bbpress part of site.
Hi!
you can put the code in your theme’s functions.php (just scroll down and put it there) or you can make a custom functions plugin.
Thanks for the code Neal!
Forum: Themes and Templates
In reply to: [Customizr] How to make featured pages verticalThanks! It worked great. Just one more thing: how can I put the featured page text to the right of the featured page image?
Forum: Hacks
In reply to: Using $wpdb->get_results with Select and a comparing a column with a variableIs it now appropriate to mark this thread as resolved ?
Yep! Thanks! ??