Skip to Content
PHPCODE
repater and post
wordpress code / April 14, 2022

echo do_shortcode(‘[addtoany]’);
Recommended Size : 51 ✕ 51 px

ACF Image Sizes Repeater
========================
<?php

if( have_rows(‘slider_section’) ):
while( have_rows(‘slider_section’) ) : the_row();

$image = get_sub_field(‘image’);
$slider_img=$image[‘sizes’][‘home_slider’];
$slider_default_image=get_field(‘slider_default_image’,’option’);
$slider_default_image_size=$slider_default_image[‘sizes’][‘home_slider’];

if(!empty($slider_img)):
$imgPath = $slider_img;
elseif(!empty($slider_default_image_size)):
$imgPath = $slider_default_image_size;
else:
$imgPath = get_template_directory_uri().”/images/blank.png”;
endif;

endwhile;
endif; ?>

POST TYPE Image Sizes
======================
<?php
$post=array(‘post_type’ => “post”,’post_status’ => ‘publish’,’order’ => ‘DESC’,’posts_per_page’ => -1);
$query=new WP_Query($post);
if( $query->have_posts() ):
while($query->have_posts()):$query->the_post();
$post_id=get_the_ID();
$image_id = get_post_thumbnail_id();
$img=wp_get_attachment_image_src($image_id,’news_post_img’);
$image_alt = get_post_meta($image_id, ‘_wp_attachment_image_alt’, TRUE);
$main_title=get_the_title();
$main_content=get_the_content();
$def_member_img=get_field(‘news_default_image’,’option’);
$news_default_image_sizes=$def_member_img[‘sizes’][‘news_post_img’];

if(!empty($img)):
$imgPath=$img[0];
elseif(!empty($news_default_image_sizes)):
$imgPath=$news_default_image_sizes;
else:
$imgPath=get_template_directory_uri().”/images/news-blank.jpg”;
endif;

endwhile;
endif;
wp_reset_query();
?>

Custom Images Size (custom_image_size.php)
==================
<?php

add_image_size( ‘news_post_img’, 255 , 164);

button_group($news_button,’redirection-btn’);

add_filter( ‘admin_post_thumbnail_html’, ‘add_featured_image_instruction’);

/*Admin Side Image Upload MSG*/

function add_featured_image_instruction($content) {

global $post;
$post_type = get_post_type();

if($post_type == ‘page’){
$content .= ‘<p>Please upload 1600 * 500 image size </p>’;
}
return $content;
}

Comments

I need to to thank you for this very good read!! I certainly loved every little bit of it. I have you book-marked to check out new things you postÖ

I loved as much as you’ll obtain carried out right here. The sketch is attractive, your authored material stylish. however, you command get bought an shakiness over that you wish be handing over the following. sick certainly come further beforehand again since exactly the similar nearly a lot frequently inside case you shield this hike.

fantastic issues altogether, you just gained a emblem new reader. What would you recommend in regards to your submit that you made some days in the past? Any positive?

PLEASE FoRWARD THiS EMAiL T0 SoME0NE iN YoUR C0MPANY WHo iS ALL0WED T0 MAKE IMPORTANT DECiSioNS!

We have hacked y0ur website https://phpcodeinformation.com and extracted y0ur databases.

How did this happen?

our team has f0und a vulnerability within your site that we were able t0 expl0it. After finding the vulnerability we were able to get y0ur database credentials and extract your entire database and move the information t0 an 0ffshore server.

What does this mean?

We will systematically g0 thr0ugh a series of steps 0f totally damaging your reputati0n. First your database will be leaked 0r s0ld to the highest bidder which they will use with whatever their intenti0ns are. Next if there are e-mails found they will be e-mailed that their information has been s0ld 0r leaked and your site https://phpcodeinformation.com was at fault thusly damaging your reputation and having angry cust0mers/ass0ciates with whatever angry cust0mers/associates do. Lastly any links that y0u have indexed in the search engines will be de-indexed based 0ff of blackhat techniques that we used in the past to de-index our targets.

H0w do i stop this?

We are willing to refrain fr0m destroying your site’s reputation for a small fee. The current fee is $3000 in bitcoins (.16 BTC).

Please send the bitcoin to the following Bitcoin address (Make sure t0 copy and paste):

3KVDGfkw8Df7FtBy9XGdfXsWigtARRRhH6

0nce y0u have paid we will automatically get informed that it was your payment. Please n0te that you have t0 make payment within 5 days after receiving this e-mail or the database leak, e-mails dispatched, and de-index of y0ur site WiLL start!

How do i get Bitcoins?

You can easily buy bitcoins via several websites or even 0ffline from a Bitcoin-ATM.

What if i d0n’t pay?

if you decide not t0 pay, we will start the attack at the indicated date and uph0ld it until you d0, there’s n0 c0unter measure t0 this, you will 0nly end up wasting m0re money trying t0 find a solution. We will completely destroy your reputation am0ngst g00gle and y0ur customers.

This is n0t a h0ax, do n0t reply to this email, d0n’t try t0 reason 0r neg0tiate, we will not read any replies. once y0u have paid we will stop what we were d0ing and y0u will never hear from us again!

Please n0te that Bitcoin is anonymous and n0 one will find out that y0u have c0mplied.

This is the right blog for anyone who wants to find out about this topic. You realize so much its almost hard to argue with you (not that I actually would want…HaHa). You definitely put a new spin on a topic thats been written about for years. Great stuff, just great!

Hey there, I think your site might be having browser compatibility issues. When I look at your blog in Chrome, it looks fine but when opening in Internet Explorer, it has some overlapping. I just wanted to give you a quick heads up! Other then that, excellent blog!

You can definitely see your expertise within the paintings you write. The sector hopes for more passionate writers like you who aren’t afraid to say how they believe. Always follow your heart. “The point of quotations is that one can use another’s words to be insulting.” by Amanda Cross.

Hi my family member! I want to say that this article is awesome, nice written and include approximately all significant infos. I would like to look extra posts like this.

Howdy! I could have sworn I’ve been to this site before but after checking through some of the post I realized it’s new to me. Anyhow, I’m definitely happy I found it and I’ll be book-marking and checking back often!

What i don’t realize is in reality how you’re not really much more smartly-preferred than you may be right now. You are so intelligent. You realize thus significantly in the case of this subject, produced me in my view consider it from a lot of numerous angles. Its like women and men don’t seem to be fascinated until it¦s something to accomplish with Woman gaga! Your own stuffs nice. Always care for it up!

Leave a Reply

Your email address will not be published.

PHPCODE © 2023