*

Fabio Massaro

  • *****
  • 306 posts
enter photo number
« on: February 14, 2022, 11:04:15 AM »
hi all can you help me create this modification https://prnt.sc/26vindb

in exchange I give the modified location code
« Last Edit: February 14, 2022, 10:39:53 PM by Fabio Massaro »

*

MB Themes

Re: enter photo number
« Reply #1 on: February 14, 2022, 02:22:12 PM »
It should not be complicated,in item-loop.php single to add count function.
I think resource counter is already there
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #2 on: February 14, 2022, 02:31:47 PM »
I can't find it ... you can help me

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #3 on: February 14, 2022, 03:41:50 PM »
I can't find it ... you can help me

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #4 on: February 14, 2022, 08:31:21 PM »
It should not be complicated,in item-loop.php single to add count function.
I think resource counter is already there

I saw that it is there but I wanted it as in the photo

*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #5 on: February 15, 2022, 10:34:05 AM »
hi all can you help me create this modification https://prnt.sc/26vindb

in exchange I give the modified location code

<?php echo osc_count_item_resources(); ?>
« Last Edit: February 15, 2022, 10:36:38 AM by Vettalo »

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #6 on: February 15, 2022, 09:02:42 PM »
Thank you for the code but it's just that or I need to change the code
and where should I insert it

If I get the complete code and where to insert it as promised I share the modified location code of delta
« Last Edit: February 15, 2022, 09:26:29 PM by Fabio Massaro »

*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #7 on: February 15, 2022, 10:33:09 PM »
Thank you for the code but it's just that or I need to change the code
and where should I insert it

If I get the complete code and where to insert it as promised I share the modified location code of delta
Do you want to insert how many photo inside listing foto in loop single?
If so i need to see your theme.
send me your url and will help you do it
Regards.

*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #8 on: February 15, 2022, 10:36:27 PM »
Thank you for the code but it's just that or I need to change the code
and where should I insert it

If I get the complete code and where to insert it as promised I share the modified location code of delta
you mean like this

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #9 on: February 16, 2022, 05:56:59 AM »
Thank you for the code but it's just that or I need to change the code
and where should I insert it

If I get the complete code and where to insert it as promised I share the modified location code of delta
you mean like this


Yes, right


*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #10 on: February 16, 2022, 12:39:49 PM »
add in css:

.simple-prod .pics{position:absolute;right:5px;bottom:5px;font-size:13px;background:rgba(0,0,0,0.2);border-radius:5px;padding:3px 8px;transition:0.1s;color:#fff;}
.simple-prod .pics svg {margin-left:5px;color:#fff;width:16px}


add in loop-single.php after
<div class="favorite"><?php if(function_exists('fi_save_favorite')) { echo fi_save_favorite(); } ?></div>

<div class="pics"><span><?php echo osc_count_item_resources(); ?><svg fill="currentColor" viewBox="0 0 477.867 377.867"> <g> <g> <path d="M426.667,68.267H51.2c-28.277,0-51.2,22.923-51.2,51.2V358.4c0,28.277,22.923,51.2,51.2,51.2h375.467 c28.277,0,51.2-22.923,51.2-51.2V119.467C477.867,91.19,454.944,68.267,426.667,68.267z M443.733,266.001L336.333,158.601 c-6.664-6.663-17.468-6.663-24.132,0L170.667,300.134l-56.201-56.201c-6.664-6.663-17.468-6.663-24.132,0l-56.201,56.201V119.467 c0-9.426,7.641-17.067,17.067-17.067h375.467c9.426,0,17.067,7.641,17.067,17.067V266.001z"/> </g> </g> <g> <g> <circle cx="153.6" cy="187.733" r="51.2"/> </g> </g></svg></span></div>

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #11 on: February 16, 2022, 07:37:18 PM »
hello thanks but I wanted to put

*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #12 on: February 17, 2022, 01:05:33 AM »
hello thanks but I wanted to put
Look for svg icon that you would like and change svg in code.
Or you can use fa icon and change svg with html fa icon.

*

Fabio Massaro

  • *****
  • 306 posts
Re: enter photo number
« Reply #13 on: February 17, 2022, 10:11:55 PM »
hello thanks but I wanted to put
Look for svg icon that you would like and change svg in code.
Or you can use fa icon and change svg with html fa icon.

i tried to change svg but i screwed up

*

Vettalo

  • ***
  • 59 posts
Re: enter photo number
« Reply #14 on: February 18, 2022, 11:56:52 AM »
do you mean it is big?