endlessstudio
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: How to use If Not statementThanks.
I got it.<?php if(!is_page(12)) { ?>
<div>…</div>
<?php } ?>Forum: Fixing WordPress
In reply to: How to add a banner in middle of the loop?Problem solved!
Thank you!Forum: Fixing WordPress
In reply to: How to display prev/next category on post?Able to figure it out.
<?php $categories = get_the_category(); $separator = ' '; $output = ''; if($categories){ foreach($categories as $category) { $prev_step .= '<a href="'.get_category_link( $category->term_id-1 ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '" class="previous-step">'.get_cat_name( $category->term_id-1 ).'</a>'.$separator; $next_step .= '<a href="'.get_category_link( $category->term_id+1 ).'" title="' . esc_attr( sprintf( __( "View all posts in %s" ), $category->name ) ) . '" class="next-step">'.get_cat_name( $category->term_id+1 ).'</a>'.$separator; } } ?> <?php echo trim($prev_step, $separator);?> <?php echo trim($next_step, $separator);?>
Forum: Fixing WordPress
In reply to: Page range not workingHaving a same issue here.
The number keeps growing. https://endlessicons.comDid you solve this issue?
Forum: Plugins
In reply to: [Download Monitor] How to Redirect?Try it with ‘id’ instead of ‘file_name’
Basically it’s sending the value to redirect page and inside of the redirect page, there is an iframe that loads the download function.
Let me know.
Forum: Plugins
In reply to: [Download Monitor] How to Redirect?I couldn’t figure out the direct way, so I used a different method.
1. I pass the value to the redirect page
Download2. Then, get the value and used iframe to download the file
$file_name = $_GET[‘file_name’];
echo “<iframe src=\”Yourwebsite.com/wp-content/plugins/download-monitor/download.php?id=$file_name\” height=’0′ width=’0′ style=’display:none’></iframe>My site: https://endlessicons.com click any of the icon and click ‘Download’ button and see. It will redirect to the page then started to download it.
I am looking for the same answer
Did you find the solution yet?Forum: Plugins
In reply to: How to redirect after download the file?I did post it a few weeks ago, but I haven’t got any reply yet ??
Forum: Fixing WordPress
In reply to: I want to show only those posts that have featured imagesalchymyth, thanks!
but can you be more specific? because I am not php savvy.
Which file and in what line do I have to input or replace it?Forum: Fixing WordPress
In reply to: My Dashboard disappearsgracias!
Forum: Plugins
In reply to: [Download Monitor] [Plugin: WordPress Download Monitor] Total Download countsThanks!
I will try it outForum: Your WordPress
In reply to: Free IconsThanks satty005!
Maybe in the future, we will add more colorful icons. Follow us on twitter for updates https://twitter.com/endlessiconForum: Fixing WordPress
In reply to: What is the best way to add customized fields on posts?Wait.
I am not just talking about the HTML part.
How do I add columns to wp-post database table so that I can input data?
Plug-ins? or hardcode it?Forum: Fixing WordPress
In reply to: What is the best way to add customized fields on posts?https://s10.postimage.org/60linz8i1/image.jpg
See above link.So basically, I want to add a few more fields on the post page and able to display that value somewhere on the site.
I was wondering what is the best way?Thanks for looking into this
Forum: Your WordPress
In reply to: Free IconsThanks for the updates!
I will make the correction soon