drupal: standard way for creating a slug from a string

A slug on this context is a string that its safe to use as an identifier, on urls or css. For example, if you have this string: I'd like to eat at McRunchies! Its slug would...

Adding a Taxonomy Filter to a Custom Post Type

There is an amazing conversation from about two years ago on the Wordpress Answer site where a number of people came up with good solutions for adding a taxonomy filter to the admin screen for...

Recommended WAI-ARIA implementation for navigation bar/menu

We are in the process of implementing (i.e. adding) WAI-ARIA support to the main navigation menu of a web portal. Menu is the one shown here: Menu is implemented by means of classic <ul> / <li> /...

How to get raw text from pdf file using java

I have some pdf files, Using pdfbox i have converted them into text and stored into text files, Now from the text files i want to remove Hyperlinks All special characters Blank lines headers...

How to get the taxonomy values of a custom post type

I am creating a new template that will get all the custom post type (Case Studies) content, including the taxonomies values associated with it. So far I got the following: <section> <h1><?php...

Custom Taxonomies for custom post type not showing up in Wordpress Admin column

I have created a custom post type called protocols and registered a few taxonomies for that custom post type to allow the customer a filterable/searchable list of posts. For some reason, the...

WordPress custom post type pagination 404 error

I am trying to get pagination working on a custom theme. I have a post type with custom taxonomies and I have pagination for those custom taxonomies and that works fine. However on another part of...

Gathering Custom post types via tags

I have set up my custom post type called 'sectors', using the code below: register_post_type( 'sectors', array( 'labels' => array( 'name' => __( 'Sectors' ), ...

How to implement authorization using a Telegram API?

I want to implement multiple authorization using PHP for interaction with Telegram REST API. What task am I trying to solve? Well, it's simple: several dozens of users (all of them have a carma...

WordPress: How do I add more than one taxonomies in a custom post post type

I have created a Custom Post Type called user-story. The $args looks like this: $args = array( 'labels' => $labels, 'hierarchical' => true, 'description' => 'description', 'taxonomies'...

Cannot delete Categories, tags! Wordpress

I am trying to add, delete default categories under default word press post. (means not creating any custom taxonomy etc) Problem: Into the admin panel when I click on delete action for the...

GPT reload ad in the same div element

For single page apps, I'd like to know if it's possible to request a new ad, to replace existing ad in a div container var slotName = '/blogs/peter/recentPosts' // this changes according to...

AbstractMethodError while running Pipeline

I have a Jenkinsfile that runs a pipeline. The pipeline runs correctly on one instance of Jenkins, so I believe there isn't a problem with my script. I am now trying to copy the job over to...

Using the reserved word "class" as field name in Django and Django REST Framework

Description of the problem Taxonomy is the science of defining and naming groups of biological organisms on the basis of shared characteristics. Organisms are grouped together into taxa (singular:...

Create 1 common page template for different terms of custom taxonomy in Wordpress

My Need ( More Idea's are welcome ) I need a page for each term, So when i click on a playlist only the songs which belongs to the playlist (term) will be listed. My Present Situation I am using...

Wordpress Custom taxonomy dropdown list array to tagdiv composer

I am currently working on a new wordpress website which uses the Newspaper theme, which lets me compose pages with the tagdiv composer plugin. This plugin makes it fairly easy to show posts of...

Fusing operators together

I'm still in the process of deploying Airflow and I've already felt the need to merge operators together. The most common use-case would be coupling an operator and the corresponding sensor. For...

Drupal 8 - Node reference migrate to entity reference type

I try to migrate drupal 7 site to version 8 following this steps https://www.drupal.org/docs/8/upgrade/upgrading-from-drupal-6-or-7-to-drupal-8. But when migrate the fields of content types I get...

Netlify deploy with results of TypeError: Cannot read property 'data' of undefined

I have completed my project using Wordpress as a headless CMS, this work locally; however when deploying to netlify I am getting cannot "TypeError: Cannot read property 'replace' of undefined" The...

Creating simple Custom Post Type in Combination with Elementor Pro

I'm trying to achieve of how to sort out the following task - I'm trying to find out how to create a list of objects, let's say a directory of objects of a real estate company (see attached mockup...

Defining database relations among various content types for small website - advice on structure?

This relates to a post I made here https://wordpress.stackexchange.com/questions/353988/setting-up-taxonomy-to-relate-various-custom-post-types-advice-on-structuring where initially I was...

Modifying taxonomy archive template on Wordpress with Neve Theme

Everyone, I have installed Wordpress 5.3.2 with Neve Theme ver. 2.5.4. I anage custom post types and custom taxonomies with Pods 2.7.16.2. I have a custom page type called "libros" (books, my...

Have two "project" sections in hugo academic?

I would like to duplicate the "Projects" section so that I have Projects and Portfolio sections. I have duplicated the home/projects.md file and made it home/portfolio.md. I have also created a...

Pagination not working with custom URL structure of CPT/Taxonomy

I'm fairly new to posting here and I'll try to keep it as clear as possible! Any guidance is greatly appreciated! The Goal: I am trying to create a Custom Post Type and a Taxonomy where I can...

Limit orders to a certain amount of products from a custom taxonomy (every 24 hours, by IP address)

I am trying to have it so that my customers are limited to order 5 products from a custom taxonomy every 24 hours on my Woocommerce Wordpress site. I have created a custom taxonomy called...

Add significance asterisks to graph between multiple bars within each x-axis in ggplot bar graph

I am trying to indicate which treatments are significantly different from the control within each of my x-axis labels in a ggplot bar graph. I have Taxonomy as the x-axis and four different bars...

HUGO How to use pagination inside terms page?

I'm trying to use a pagination inside a terms page (e.g. /layouts/tags/terms.html) because I got many tags. And I also want to display all my tags sorted by popularity. For the last point, I...

Automatic Google Product Taxonomy (category) based on EAN

I have a database of many products withing also many categories. I get the data from several suppliers whom each use their own way to describe category taxonomies. So i am looking to have a more...

When to use graph databases, ontologies, and knowledge graphs

I've been struggling to understand when these technologies are useful from a practical standpoint, and how they are different from each other. Could an expert check my understanding? Graph...

How to find list of unique affixes given a list of words?

An affix can be a prefix (before word), infix (in the middle of a word), or suffix (after word). I have a list of 200k+ latin/greek names used in biological taxonomy. It turns out there is no...