Love Coding – blog o programowaniu

  • Main site
  • Portfolio
  • Recruiment questions for Front-end Developers

Home

  • Home
  • Love Coding - blog o programowaniu

Multiple sliders on one page with simple jQuery slider

Posted by: Joanna Posted on: 02/11/2020

If you’re reading this post then you probably have problem with slider, that don’t work correctly if occurs several times on the same page. I have a solution to you – simple jQuery slider, that you can put on page as many times, as you want and it will be work as it should.

Read More Multiple sliders on one page with simple jQuery slider

WordPress – how to display random posts without duplicates

Posted by: Joanna Posted on: 05/06/2020

To have full control over displaying posts in WordPress we can use WP_Query class and create our own query. According to documentation, if we want to to display posts in random order, we must pass suitable arguments to the query:

Read More WordPress – how to display random posts without duplicates

WordPress custom admin page

Posted by: Joanna Posted on: 02/03/2020

When you write your own plugin, you often want to add dedicated page for its settings. In this post I will show you how to do this.

Read More WordPress custom admin page

How to use ajax in WordPress – on frontend and admin side

Posted by: Joanna Posted on: 29/02/2020

Ajax ( Asynchronous JavaScript and XML ) allows us do action in asynchronous way – without page reloading. It is very useful and has affect on better user experience. We can for example add, hide or delete some content from site and there’s no need to reload whole page.

Read More How to use ajax in WordPress – on frontend and admin side

How to add custom link to the WordPress plugin in admin page

Posted by: Joanna Posted on: 29/02/2020


When you write your own plugin, you may want to send users to settings page after they activate the plugin. Here’s a simple tutorial of how to add additional links to your plugin on plugin page in wordpress.

Read More How to add custom link to the WordPress plugin in admin page
jQuery infinite scroll image gallery

jQuery infinite scroll image gallery

Posted by: Joanna Posted on: 01/02/2020


Infinite scroll gallery is a simple and difficult task at the same time. It all depends on how you want to display it. For start, let’s write the basic assumptions:

Read More jQuery infinite scroll image gallery

React Hooks – useCallback hook example with React.memo higher-order component

Posted by: Joanna Posted on: 28/11/2019


UseCallback, same as useMemo hook, is useful in situation, when you want to improve performance of your app. Thanks to it, you can avoid useless renders, so app can works faster.

Read More React Hooks – useCallback hook example with React.memo higher-order component

React Hooks – useMemo hook example

Posted by: Joanna Posted on: 28/11/2019


UseMemo hook returns memoized value. That’s why you can use it to optimize performance of your app. If you have large calculations to get value that you need, you can do it only once and use useMemo hook to remember this value.

Read More React Hooks – useMemo hook example

React Hooks – useRef hook example

Posted by: Joanna Posted on: 28/11/2019


UseRef hook can be used in two ways. First, it allows to directly access to DOM element, so we can manipulate it. Second, it can keep any mutable value in its .current property, that is not change between renders.

Read More React Hooks – useRef hook example

React Hooks – useEffect hook example

Posted by: Joanna Posted on: 28/11/2019


UseEffect hook runs after first render and after every other completed render (but we can change that, so it can runs after first render and only when certain values have changed). We may put in it piece of code, that runs after component render, so we can change state or manipulate DOM tree before it will display on screen).

Read More React Hooks – useEffect hook example

Posts navigation

  • 1
  • 2
  • …
  • 4
  • PolskiPolski

Categories

  • CSS
  • HTML
  • JavaScript
  • React
  • React Native
  • Front-end Developer Tools
  • WordPress Development

Recent Posts

  • Multiple sliders on one page with simple jQuery slider
  • WordPress – how to display random posts without duplicates
  • WordPress custom admin page
  • How to use ajax in WordPress – on frontend and admin side
  • How to add custom link to the WordPress plugin in admin page

Love-coding shop

Follow me

Youtube
    • PolskiPolski
    • EnglishEnglish

Ta strona używa cookies dla sprawniejszego działania. Korzystając z witryny akceptujesz politykę cookies.