pritty
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
Hi, I want to add badge in featured image , so i want to add this code in theme file
$premium = get_post_meta($post_id, "premium", true);
if (!is_admin() && ($premium==1) && (!is_single())) {
$post_loop .= '<style>.badge {
position: absolute;
top: 0px;
width: 80px;
font-size: 12px;
left:0px;
}
@media (max-width: 768px) {
.badge {
font-size: 10px;
}
}
</style><span class="badge"><img src="https://www.debunschoter-online.nl/wp-content/uploads/2022/04/premium_large1.jpg"/></span>';
// Sponsor badge
$sponsor = get_post_meta($post->ID, "sponsor", true);
if (!is_admin() && !empty($sponsor) && (!is_single())) {
$post_loop .= '<style>.badge2 {
position: absolute;
top: 0px;
width: 80px;
font-size: 12px;
left:0px;
}
@media (max-width: 768px) {
.badge2 {
font-size: 10px;
}
}
</style><span class="badge2"><img src="https://www.debunschoter-online.nl/wp-content/uploads/2024/06/gesponserd.png"/></span>';
}
// Video badge
$video1 = get_post_meta($post->ID, "video1", true);
if (!is_admin() && !empty($video1) && (!is_single())) {
$post_loop .= '<style>
.badge1 {
position: absolute;
top: 0px;
width: 80px;
font-size: 12px;
right: 0px;
}
@media (max-width: 768px) {
.badge1 {
font-size: 10px;
}
}
</style><span class="badge1"><img src="https://www.debunschoter-online.nl/wp-content/uploads/2024/06/video.png"/></span>';
}
}Forum: Plugins
In reply to: [Controlled Admin Access] Controlled access visibilityhi
same issues happens all users.
Forum: Plugins
In reply to: [Controlled Admin Access] Controlled access visibilitysolved
Forum: Plugins
In reply to: [Ultimate Order Combination] At combined orders blank screenyes correct.
We are using https://woocommerce.com/document/redsys-servired-sermepa-gateway/ this plugin.
we can’t use both redsys payment and combined orders. But we need two plugin. how to solve?
Fatal error like:
12-29-2022 @ 06:28:00 - 12-29-2022 @ 06:28:00 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 12-29-2022 @ 06:28:00 - redsys_bulk_actions_handler 12-29-2022 @ 06:28:00 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 12-29-2022 @ 06:28:00 - $redirect_to = /wp-admin/edit.php?post_type=shop_order&paged=1 12-29-2022 @ 06:28:00 - $doaction = wuoc_combine 12-29-2022 @ 06:28:00 - $post_ids = Array ( [0] => 202804 [1] => 202791 ) 12-29-2022 @ 06:28:00 - !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Forum: Plugins
In reply to: [Ultimate Order Combination] Combine the orderscan you share the code for this
Viewing 6 replies - 1 through 6 (of 6 total)