Skip to main content

All Questions

Tagged with or
Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

ACF pro auto populated field is not saving

I have auto-generated a text field value from another field in ACF pro. The field is showing the data but I can't use it anywhere. I assume it doesn't save or update. Here are my code function ...
Noobie's user avatar
  • 109
0 votes
1 answer
12 views

Query 'orderby' when there are multiple values for the same meta_key

I'm trying to create a custom sortable admin column for a custom post type that contains a "repeater" field. The plugin I'm using for this field saves the values as separate entries in the ...
Aayla Secura's user avatar
0 votes
0 answers
19 views

Inequality based on today's date and SCF date not working

I have the following custom query and I would like to exclude any posts whose SCF dates are in the past. I have checked that the custom date of the post is returned in the Ymd format and it is. I can ...
Eind999's user avatar
0 votes
0 answers
19 views

why is my plugin code not saving the meta field to the database

I'm trying to write a plugin that will pull pdfs from a set URL, but the meta field isn't saving. Here is my code: <?php /* Plugin Name: Custom PDF Upload Plugin URI: http://example.com/ ...
pressword's user avatar
  • 370
0 votes
1 answer
20 views

Allow HTML in custom taxonomy description, and show it on front end

Sorry I'm quite new at coding, and also working with WordPress and ACF, and I'm trying my best but I can't figure this out: I'm trying to load my taxonomy description in rich text. Currently I'm using ...
Casper Boon's user avatar
2 votes
1 answer
26 views

Search by Custom Field content OR post id via the WordPress Dashboard

This codes works fine for searching by custom field content, but could someone help me to modify it so I can search by post id instead of one of the three custom fields? I will only ever search for ...
Bill's user avatar
  • 41
0 votes
1 answer
33 views

Filtering output by two custom fields using posts_where and add_rewrite_rule

I'm using two custom fields in wordpress to filter a persons database (custom taxonomy = persons) by gender and age. I would like the domain path name to look like that: domain.com/persons/women/...
Andreas Böttcher's user avatar
1 vote
0 answers
40 views

Display posts in correct month order using single date custom field

I have developed a WP Query that displays posts from a custom post type and taxonomy, and orders them by date using a custom field. The posts have a single Advanced Custom Fields date picker field ...
Mike Hermary's user avatar
0 votes
0 answers
21 views

Displaying child pages and file URL in an ACF relationship field shortcode

Just to outline my scenario; I have some basic pages and a CPT called 'Resources'. The 'Resources' post type has an ACF file field called 'pdf_file' The pages have an ACF relationship field which ...
Adam's user avatar
  • 111
1 vote
0 answers
20 views

Issue Copying Posts and Pages from One WordPress Site to Another

I am currently trying to copy all posts and pages from one WordPress site to another and have encountered an issue I can't resolve. Here’s an outline of what I've done so far: Export out a backup of ...
Josh's user avatar
  • 11
1 vote
1 answer
23 views

Change the color of one or more specific items on the Pages list (Admin)

This screenshot shows a page called OO01 - TRABALHOS HOVOS I've created to demonstrate this. This page is listed in the All Pages section of Wordpress. All pages there are listed with the same blue ...
Duck's user avatar
  • 113
0 votes
1 answer
33 views

Sort posts by numeric value of custom field, and also show any other posts without that custom field

I would like to make sorting of posts on archive pages (tag, category, author...) using pre_get_posts inside functions.php. I have some posts with custom field "rating" and value of that ...
Advanced SEO's user avatar
0 votes
1 answer
18 views

Custom theme on multisite has issues with standard loop output

I am experiencing the following error output when using the standard loop on page.php and single.php on a multisite-based WordPress installation. The loops are the same for both template types, with ...
Mike Hermary's user avatar
0 votes
1 answer
40 views

How do you add a filter to wp-block-page-list?

I have read that the old pages widget allowed you to use a filter to include or exclude specific pages, but I can't figure out how to do this with the new block page-list widget. I'm doing this on the ...
Scott C Wilson's user avatar
1 vote
1 answer
23 views

Exclude function for custom pages, exclude custom ACF fields

I have the following code: function auto_link_post_titles( $content ) { // Sets the post type(s) we'll retrieve. $desired_post_types = array( 'my_post_type', 'my_other_post_type' ); // ...
Mapa's user avatar
  • 19
0 votes
1 answer
22 views

Adding a Admin Style Table in a Wordpress 4.x Page

I'm trying to add an admin style table in a regular page with a sample below. The code is inside the theme's functions.php. It seems the class is not loaded and crashes so the echo after is not called....
ruzip's user avatar
  • 1
0 votes
0 answers
89 views

Custom Dynamic Tag in Elementor not showing image

Hi I am trying to add dynamic tags to the wordpress "image" widget, so that I will be able to choose custom featured image: second-featured-image and third-featured-image. These second and ...
Brango's user avatar
  • 1
0 votes
0 answers
11 views

Page linking issue

I have the following navigation items: Home, About Us, Services, and Contact. Under the Services menu, I have two sub-menu items: 1. Business Analysis and 2. Training Management. I have created ...
Chaithanya's user avatar
0 votes
0 answers
60 views

Create a PAGE using wordpress API using the PAGE template and change specific content

im not sure if i had to create a custom endpoint for this but i do (still dont know what to write inside the function), basically in Pages Section, I made one Page and turn it into a Template. I want ...
Justin's user avatar
  • 1
1 vote
1 answer
23 views

Sort posts based on an acf field called fecha value return longtext '20240517'

I have a field called acf date for certain posts and I need to sort these posts by this field, but the value comes in this format: '20240517' and I need to sort the posts in ascending order with this ...
Yojaimito1's user avatar
0 votes
0 answers
15 views

ACF - Updating all posts of CPT when a custom field from options page is updated

I have a custom post type - headstones, that contains pricing information in custom fields: Cost of Stone Cost of Carving Cost Total Retail Price of Stone Retail Price of Carving Retail Total Of the ...
Craig Watson's user avatar
0 votes
1 answer
27 views

Remove 3rd party plugin notices from within own plugin

I'm trying to build a plugin (complete novice) and on the landing page of my plugin I don't get the 3rd party plugin notices / banners but with all of my sub pages I do. How can I completely remove ...
demo7up's user avatar
  • 178
1 vote
1 answer
85 views

Slug of a child page is accessible with and without the parent slug in the URL

Consider I have two pages in WordPress, and I make one a child of the other example.com/foo/ example.com/bar/ <-- set /foo/ as the parent to end up with: example.com/foo/bar/ After this is done, if ...
Mike Ciffone's user avatar
0 votes
1 answer
17 views

WordPress commercial theme cancels default functionality

I built a site with a WordPress commercial theme which has prebuilt portfolio-type custom posts. These posts have a couple of preset custom fields from the theme developer, to which I want to add some ...
vasilis's user avatar
0 votes
1 answer
105 views

Meta query with ACF relationship field

I have a CPT that contains Employee Bio information. Because we don't want to create accounts in wp_users for everyone, this data is implemented as a "regular" CPT living in wp_posts. Let's ...
scott8035's user avatar
  • 230
1 vote
1 answer
24 views

Added .lowercase-alpha-list now my list is adding an extra period

I have added this code to the additional css: .lowercase-alpha-list { list-style-type: lower-alpha; } .lowercase-alpha-list li::after { content: none; } Here is how I implemented the HTML: <...
Dustin Willingham's user avatar
0 votes
2 answers
39 views

Search Result to Link to a Specific Page

I'm currently working on my online store and I would like to use my search results as a product filter, sending people to specific pages intead of showing general seach results. For example: Someone ...
MANZON's user avatar
  • 3
0 votes
0 answers
18 views

Customise "Add a New Post" page

I have a very simple question to which I am sure there is a simple answer, but after hours of searching I still can't find it. I am a professional programmer who has been developing themes and plugins ...
Michael Scannell's user avatar
0 votes
0 answers
9 views

Wordpress additional update of publications after importing WP All Import Pro

I ran into a problem updating records after importing WP All Import Pro. In general, when I do the import, the records are saved, everything is OK. I have fields created via CMB2. In one of these ...
Givanni Dev's user avatar
1 vote
0 answers
857 views

WordPress Version 6.6 facing "This block has encountered an error and cannot be previewed." which edit text on page with link

Today, when I edit a page with text that has link attached to it getting this error "This block has encountered an error and cannot be previewed.". Same issue when I try to attach new URL/...
ggnanaraj's user avatar
0 votes
1 answer
40 views

Creating subpages for each custom post type

I have a custom post type (created with ACF), called shops. Each shop has data for example about working hours, which are separated in each custom field (Monday, Tuesday, wednesday etc.). I have all ...
pomaaa's user avatar
  • 101
0 votes
1 answer
23 views

ImageMagick on wordpress 6.5.5 for Linux Alma 8 success but which no magick

I am trying to add a Page or an Entry and the message when trying to publish is the following: The publication has failed. The response is not a valid JSON response. I have also published my query ...
euroluar's user avatar
0 votes
0 answers
43 views

Blog Posts Work in Preview, But Are Not Visible on the Live Page - READ MORE u003cspan aria-hidden=’true’u003e→u003c/spanu003e Error

Returning to a WordPress site that I have been away from for a while, I discovered that my Posts show up fine in Preview, but the actual page displays "READ MORE u003cspan aria-hidden=’true’u003e→...
UrsusArctos's user avatar
0 votes
0 answers
23 views

Removing /wp in Permalink URL of subdomain led to inaccessibility to WP Dashboard

I am a beginner and learning to develop a website through practicing. Basically using Elementor Plugins. When I noticed my Home/Front Page URL https://kuluguskham.cskulung.com/wp I thought the last /...
Chandra Singh Kulung's user avatar
0 votes
2 answers
724 views

fetch from an external api call and display results in page

I have placed my external api call inside the functions.php file in the server and I created a shortcode for the api call. I'm familiar with React and I was expecting Wordpress to be somewhat similar. ...
bart lu's user avatar
0 votes
1 answer
48 views

I want the Title of page/post to show up topmost when reading the post/page

I want the Title of page/post (in content area) to show up topmost when reading the post/page. If you use #anchor link you can only link to the topmost textblock, but then the Title of the post ...
ThomasMox's user avatar
0 votes
1 answer
64 views

What is the easiest way to create a custom field archive?

So, here is the issue: I am using a plugin named User Submitted Posts, and it works great on its part. However, I still want to have that user content page the Twenty Twenty Four theme has by default, ...
Grond's user avatar
  • 1
0 votes
1 answer
20 views

Dynamic activation page in Wordpress

I want to create a URL to an activation page in Wordpress. But I don't want to create a page for it with a shortcode. So it must be a dynamic page. I'm currently trying to see if I can do it with a ...
Rene van Dam's user avatar
0 votes
1 answer
49 views

How to display breadcrumb on category?

I have a breadcrumb displayed on all content types (pages, posts, homepage etc.) - beside of category. What is the way to add category to content types, where breadcrumb is showing? This is the ...
Evgeniy's user avatar
  • 105
0 votes
0 answers
143 views

I am trying to add form using ACF plugin and acf_form() function, but my user fields dont show up properly

I am new at wordpress, so i am very sorry if this is a stupid question, but anyway... I am trying to create form on frontend to add my custom post types with custom fields which i created using ACF ...
Tasha Yan's user avatar
0 votes
1 answer
77 views

Live page errors should be hidden

How can I remove any error notification on my live page. I want them on the back end only. This is what I see on my main page and I want it hidden. Deprecated: Hook site-logo is deprecated since ...
addyj76ers's user avatar
0 votes
0 answers
24 views

Organizing pages into different categories/sections

The solutions I found seem a little inelegant and involve using additional plugins to use post categories for evergreen pages, which I think would make a mess of the blog section and confuse the posts ...
Alex's user avatar
  • 1
0 votes
2 answers
187 views

Website content shifted all the way to the left

I'm a solo WordPress web dev who's managing this website and noticed that the website content's header and body shift to the left. I'm not sure how this happened and any advice on how to fix this ...
PookieBear's user avatar
0 votes
1 answer
46 views

When inserting media file in a post or page, show file name under the thumbnail

When using insert media into a page it shows a grid of pictures. How can I change that to see file names instead (or both)? And would there be a way to have the images sort by file name?
CAlexander's user avatar
0 votes
0 answers
37 views

How to hide a field on the frontend of a Buddypress page by field ID according to user roles and login status?

Not sure if this is the right place to post this or if I should use stack overflow. I can post it elsewhere if needed. I am not a developer. I have very basic understanding of CSS classes (which is ...
I have many questions's user avatar
0 votes
1 answer
95 views

How to force a page to load and have a particular dynamic tab as active

Im wanting to force a page to load and have a particular dynamic tab as active. Here’s the context: As seen the “Artworks” screen dumps below when a course is selected screen 1 displays with the focus ...
pbee's user avatar
  • 5
1 vote
1 answer
30 views

Many CPT is conflicting of the custom date

How can I fix the date with multiple Wordpress CPT date? An example, the custom post "John The Man" on "Canada" CPT the birthday is "Thursday 05 May 1960". How can I ...
Oldie's user avatar
  • 11
0 votes
0 answers
56 views

Custom fields - get_post_meta giving null

I have in the heder.php the following snippet: <?php $schema = get_post_meta(get_the_ID(), 'schema', true); if (!empty($schema)) { echo $schema; } ?> And in some posts I have the custom ...
Pikk's user avatar
  • 279
0 votes
1 answer
32 views

WP_Query not using relation key as expected and not producing any results

I have created a custom post type service-provider with custom taxonomies region and service-category - By itself, this search works as expected BUT I want to also search on an ACF field. I have an ...
php-b-grader's user avatar
0 votes
0 answers
57 views

Very strange problem with occasional 404 errors

I'm having a very strange effect on my website with occasional 404 errors. First of all: This is not a normal problem with redirect rules or htaccess. So please don't make comments like "check ...
Bert Kößler's user avatar

1
2 3 4 5
125