Author Topic: Website development and design troubleshooting/ question  (Read 77319 times)

Online lcm

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Jul 2019
  • Posts: 1899
  • Total likes: 815
  • DansDeals.com Hat Tips 7
    • View Profile
  • Location: 5th paragraph of https://www.dansdeals.com/sms/
Re: Website development and design troubleshooting/ question
« Reply #240 on: January 14, 2024, 11:32:44 PM »
Selling product. 
Probably Shopify.
Shopify probably sells domains also, and makes it simplest.
I personally prefer buying through cloudflare

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7786
  • Total likes: 3266
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #241 on: January 15, 2024, 10:36:40 PM »
Shopify probably sells domains also, and makes it simplest.
I personally prefer buying through cloudflare
Quote
Note: You cannot change the nameservers of a domain registered with Cloudflare

What's their email forwarding like?
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Online etech0

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 13705
  • Total likes: 4436
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #242 on: January 15, 2024, 10:37:52 PM »
What's their email forwarding like?
I use cloudflare for DNS for domains registered with GoDaddy and it's very simple to set up email forwarding and domain hosting. Changed hosts a few times and it was a breeze (as opposed to when we moved the DNS from GoDaddy and things were down for hours).
Workflowy. You won't know what you're missing until you try it.

Offline Yo ssi

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Aug 2019
  • Posts: 7786
  • Total likes: 3266
  • DansDeals.com Hat Tips 66
  • Gender: Male
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #243 on: January 15, 2024, 10:57:39 PM »
things were down
Speaking of which
_    ,
' )  /
 /  / __   _   _   o
(__/_(_)  /_)_/_)_<_
 //
(/

Online lcm

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Jul 2019
  • Posts: 1899
  • Total likes: 815
  • DansDeals.com Hat Tips 7
    • View Profile
  • Location: 5th paragraph of https://www.dansdeals.com/sms/
Re: Website development and design troubleshooting/ question
« Reply #244 on: January 15, 2024, 11:48:45 PM »
What's their email forwarding like?
Quite solid

Online Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 7025
  • Total likes: 2796
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Chinada/Canadstan/Crussia/North Kanada
  • Programs: COVID-25
Re: Website development and design troubleshooting/ question
« Reply #245 on: January 16, 2024, 12:32:40 AM »
I use cloudflare for DNS for domains registered with GoDaddy and it's very simple to set up email forwarding and domain hosting. Changed hosts a few times and it was a breeze (as opposed to when we moved the DNS from GoDaddy and things were down for hours).
Cloudflare is king.
You can do so much more than just DNS
vemeredenuchyontif

Online etech0

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 13705
  • Total likes: 4436
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #246 on: January 16, 2024, 12:33:48 AM »
Cloudflare is king.
You can do so much more than just DNS
I think I also use it for CDN. Don't remember if anything else but it's so so much better at DNS than GoDaddy and another host I used in the past and forget which it was.
Any suggestions what else to use it for? :)
Workflowy. You won't know what you're missing until you try it.

Online Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 7025
  • Total likes: 2796
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Chinada/Canadstan/Crussia/North Kanada
  • Programs: COVID-25
Re: Website development and design troubleshooting/ question
« Reply #247 on: January 16, 2024, 07:53:07 AM »
I think I also use it for CDN. Don't remember if anything else but it's so so much better at DNS than GoDaddy and another host I used in the past and forget which it was.
Any suggestions what else to use it for? :)
Authenticated access, proxies firewall, dmarc management, workers and more
vemeredenuchyontif

Online etech0

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 13705
  • Total likes: 4436
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #248 on: January 16, 2024, 08:26:07 AM »
Authenticated access, proxies firewall, dmarc management, workers and more
cool. I use it for dmarc also. Not sure what that other stuff is :)
Workflowy. You won't know what you're missing until you try it.

Online Alexsei

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Sep 2011
  • Posts: 7025
  • Total likes: 2796
  • DansDeals.com Hat Tips 5
    • View Profile
    • Travel & Kivrei Zadikim
  • Location: Chinada/Canadstan/Crussia/North Kanada
  • Programs: COVID-25
Re: Website development and design troubleshooting/ question
« Reply #249 on: January 16, 2024, 08:49:11 AM »
cool. I use it for dmarc also. Not sure what that other stuff is :)

With proxy firewall cloudflare handles all actions on your site and can filter out much more malicious traffic then just on DNS level.

With authenticated access you can basically create an admin area on any part of your site that will require user authentication to access without any coding.

With workers you can run serverless JavaScript applications for mini apis etc
vemeredenuchyontif

Online etech0

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Dec 2013
  • Posts: 13705
  • Total likes: 4436
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Website development and design troubleshooting/ question
« Reply #250 on: January 16, 2024, 08:50:29 AM »
With proxy firewall cloudflare handles all actions on your site and can filter out much more malicious traffic then just on DNS level.

With authenticated access you can basically create an admin area on any part of your site that will require user authentication to access without any coding.

With workers you can run serverless JavaScript applications for mini apis etc
Cool!
Workflowy. You won't know what you're missing until you try it.

Offline YYbochur

  • Dansdeals Bronze Elite
  • *
  • Join Date: Sep 2022
  • Posts: 40
  • Total likes: 30
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: NYC Subway
Re: Website development and design troubleshooting/ question
« Reply #251 on: December 21, 2024, 11:31:02 PM »
I have this website here chanukahnyc.com and I want to randomize the order of the posts shown on the website.
for example, if someone clicks "attractions" I want the list of posts there to be shuffled instead of just showing the latest post.
The query loop block in wordpress offers the option to sort by date or alphabetically, but i want them to be randomized.

anyone know how to do it?

Offline Cholentfresser

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Mar 2009
  • Posts: 1928
  • Total likes: 53
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #252 on: December 21, 2024, 11:39:44 PM »
I have this website here chanukahnyc.com and I want to randomize the order of the posts shown on the website.
for example, if someone clicks "attractions" I want the list of posts there to be shuffled instead of just showing the latest post.
The query loop block in wordpress offers the option to sort by date or alphabetically, but i want them to be randomized.

anyone know how to do it?

I'm not too familiar with WordPress, but it seems you're correct that it only supports date or alpha. https://wordpress.com/support/wordpress-editor/blocks/query-loop-block/content/

If you're ok doing it in js, you can hide the contents on page load, and shuffle them before displaying, but it would happen on the frontend.

Doing it on the backend in WordPress/PHP would be preferred, if its possible.
In order to understand recursion, you first need to understand recursion.

Offline YYbochur

  • Dansdeals Bronze Elite
  • *
  • Join Date: Sep 2022
  • Posts: 40
  • Total likes: 30
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: NYC Subway
Re: Website development and design troubleshooting/ question
« Reply #253 on: December 21, 2024, 11:41:30 PM »
I'm not too familiar with WordPress, but it seems you're correct that it only supports date or alpha. https://wordpress.com/support/wordpress-editor/blocks/query-loop-block/content/

If you're ok doing it in js, you can hide the contents on page load, and shuffle them before displaying, but it would happen on the frontend.

Doing it on the backend in WordPress/PHP would be preferred, if its possible.
how exactly would i do that?

Offline Cholentfresser

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Mar 2009
  • Posts: 1928
  • Total likes: 53
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Website development and design troubleshooting/ question
« Reply #254 on: December 21, 2024, 11:51:18 PM »
how exactly would i do that?

It would be something like this, but it might need to be edited based on your setup.
Add this to the custom functions..

function modify_query_loop_to_random($query) {
    if (!is_admin() && $query->is_main_query() && isset($query->query['post_type'])) {
        $query->set('orderby', 'rand');
    }
}
add_action('pre_get_posts', 'modify_query_loop_to_random');
In order to understand recursion, you first need to understand recursion.

Offline YYbochur

  • Dansdeals Bronze Elite
  • *
  • Join Date: Sep 2022
  • Posts: 40
  • Total likes: 30
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: NYC Subway
Re: Website development and design troubleshooting/ question
« Reply #255 on: December 22, 2024, 12:25:32 AM »
It would be something like this, but it might need to be edited based on your setup.
Add this to the custom functions..

function modify_query_loop_to_random($query) {
    if (!is_admin() && $query->is_main_query() && isset($query->query['post_type'])) {
        $query->set('orderby', 'rand');
    }
}
add_action('pre_get_posts', 'modify_query_loop_to_random');
thanks for your time, but after trying dozens of plugins and looking all over the internet, i found a plugin called advanced query loop. which gives you a query loop with more options,including randomization.
I'll hang on to this code in case though. thanks