Skip to content

Magenaut

  • Home
  • Topics
    • Notes
    • Tutorial
    • Bug fixing
    • Extension
    • Server
  • Q&A
  • Privacy Policy
  • About

Q&A

Pagination custom post type not working with rewrite slug

August 5, 2022August 4, 2022 by Magenaut

I can’t find the way of making my pagination to work on my post type (this is not on an archive-posttype.php). I’ve rewrited my post type, but the second page isn’t working if I do the rewriting (“medias/actualites”), but it works if I have the non-rewrited slug (“actualite”).

Categories Q&A, Wordpress Tags custom-post-types, pagination, url-rewriting Leave a comment

$ is not defined

August 5, 2022August 4, 2022 by Magenaut

Uncaught ReferenceError: $ is not defined

Categories Q&A, Wordpress Tags jquery, plugin-development, validation Leave a comment

nonce in custom form is not verifying

August 5, 2022August 4, 2022 by Magenaut

I have a shortcode which calls an html form:

Categories Q&A, Wordpress Tags forms Leave a comment

How to target all woocommerce categories that don’t have any subcategories in them?

August 5, 2022August 4, 2022 by Magenaut

I want to target all pages (product categories) that are displaying the products themselves.

Categories Q&A, Wordpress Tags categories, taxonomy, woocommerce-offtopic Leave a comment

Edit Post Permalink option removed, looking for possible causes

August 5, 2022August 4, 2022 by Magenaut

The edit post permalink button is totally removed ( not hidden with css ) from the edit view – but the slug is still editable from both the Quick Edit view and also via the “slug” panel which I can show from Screen Options.

Categories Q&A, Wordpress Tags filters, javascript, permalinks Leave a comment

Trying to add some custom text into WordPress Post title via function.php

August 5, 2022August 4, 2022 by Magenaut

I need to add a custom text in wordpress Post title dynamically which I’m trying to add via this code in function.php

Categories Q&A, Wordpress Tags functions, javascript, php, variables, wp-title Leave a comment

Access ACF fields within custom preview function?

August 5, 2022August 4, 2022 by Magenaut

I’d like to access custom ACF field values from custom_preview() filter?

Categories Q&A, Wordpress Tags custom-field, filters Leave a comment

How to create a widget that accepts html input?

August 4, 2022 by Magenaut

I am new to web development and WordPress. Since, I am still learning, I want to achieve the results by doing my own research. And when it is not helping, only then I try to seek help. Well this may be the first time I am posting a question. Without wasting time, I will come to my question:

Categories Q&A, Wordpress Tags widgets Leave a comment

Custom post type permalink returns bad url

August 5, 2022August 4, 2022 by Magenaut

I have problem with custom post type. In BO url’s are ok example: page.pl/post_type_name/post_title.
When I try use get_the_permalink() or the_permalink() it return url like:
/?post_type=cpt_wydarzenia&p=258

Categories Q&A, Wordpress Tags custom-post-types, html, php Leave a comment

How to retrieve the values of a sub-field in the first and last row of an (ACF) repeater inside function?

August 5, 2022August 4, 2022 by Magenaut

I’m using a function that changes the front-end and back-end post title for a custom post type according to what you put in certain custom fields.

Categories Q&A, Wordpress Tags advanced-custom-fields, custom-field, functions Leave a comment
Older posts
Newer posts
← Previous Page1 … Page2,285 Page2,286 Page2,287 … Page2,571 Next →
  1. michealSmith07 on Is there a way to dynamically refresh the less command?August 21, 2022

    That is a very nice post. I like this post.

  2. anonymous on Fix libwacom9 dependency issue when upgrade DebianJune 27, 2022

    saved my day!! Thanks for the help…

  3. sreedhar on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    Thanks its working

  4. saintnick on Fix libwacom9 dependency issue when upgrade DebianMay 10, 2022

    remove libwacom2 worked for me as well

  5. ranafoul on Fix libwacom9 dependency issue when upgrade DebianApril 22, 2022

    apt remove libwacom2 helped on kali 2022.01. gr8

.net ajax asp.net asp.net-core asp.net-mvc asp.net-mvc-3 asp.net-mvc-4 asp.net-web-api bash c# command-line css custom-post-types custom-taxonomy dataframe dictionary django entity-framework functions gridview html iis javascript jquery json linux list matplotlib numpy pandas php plugin-development plugins posts python python-2.7 python-3.x security shell shell-script sql string vb.net webforms wp-query

© 2026 Magenaut • Built with GeneratePress