Questions tagged [parse]

The tag has no usage guidance.

16 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1 vote
0 answers
1k views

How can I use an image from an external source without uploading it to the media library

I am looking for a way to tweak my xml parser code to insert a url from an external source into a new post, instead of first uploading it to the website's media library and than adding the attachment. ...
Vasco's user avatar
  • 111
0 votes
1 answer
227 views

Registration fields prefilled with URL parameters

I’d like to invite some users via email to register and would like to prefill the user registration fields, such as A.) username and B.) email. Unfortunately it is not working and my JS skills suck... ...
VolkerHarz's user avatar
0 votes
0 answers
227 views

Can someone explain what's the use of parse request function in WordPress?

What's the meaning of "Parses the request to find the correct WordPress query" in plain Englush? Reference: https://developer.wordpress.org/reference/classes/wp/parse_request/ I encountered ...
ratib90486's user avatar
0 votes
0 answers
766 views

functions.php pharse error on complete new install

So I have just installed wordpress on shared hosting (with php 8.0 & DB (I forgot what version but it works) and immediately after setup, I get this: Parse error: syntax error, unexpected '.', ...
day_cat's user avatar
0 votes
1 answer
35 views

Problem parsing long parameter in shortcode

I have created this shortcode and registered it: function product_paypal_button_display($atts){ //Make the PayPal variables available downstream. global $wpdb; global $...
James's user avatar
  • 351
0 votes
1 answer
216 views

Create Post Types from a XML url (Real Estate website)

I have a URL provided by my Real Estate service that lists, in a XML file, every apartment and house that I have to sell. The XML url lists every detail of every apartment, things like images, year ...
vts's user avatar
  • 13
0 votes
1 answer
187 views

Storing current page WP list table HTML data into a PHP variable

I am trying to store my render post table HTML data of just the table into a PHP variable after the table is completely loaded. I've tried to store: $table = new Custom_Table_Example_List_Table(); ...
samjco-com's user avatar
0 votes
0 answers
333 views

How to parse any content which was added after the working out filter 'the_content'

How to parse any content which was added after the working out filter 'the_content'? For example I have html structure of the simple page that i was created via Worpdress Admin Dashboard -> Pages -> ...
Finezxc's user avatar
0 votes
1 answer
28 views

PHP tag in post content makes wordpress go crazy

I am trying to insert PHP code in post content, but I've just realized that it brokes Wordpress or maybe some plugin. As for example avoid any specific class naming structure or style. <?php ...
gzbuaapzroyn's user avatar
0 votes
0 answers
184 views

What method does this eventually call: do_action_ref_array( 'parse_query', array( &$this ) );

I'm looking at this line of code at the end of public function parse_query in query.php: do_action_ref_array( 'parse_query', array( &$this ) ); Does this simply end up calling the parse_query ...
Snowcrash's user avatar
  • 317
0 votes
1 answer
98 views

Worpress url parse

I want to display posts in certain category only with given tag. Problem with parsing url slugs. For example, I have category named 'Clothes': example.com/clothes/ I can get posts in this category ...
Indevelop's user avatar
0 votes
0 answers
218 views

syntax error unexpected '}' at 364 line

I am getting this error on my website and am not able to access admin dashboard. The error occurs when I am a new theme on my website. Can you please help me to find this error. Parse error: syntax ...
jagmeet singh's user avatar
0 votes
1 answer
104 views

How to import individual blog posts into Wordpress?

I'm trying to move some content from another website into blog posts for work, and I need a little bit of help. Basically my task is to parse a bunch of files into their content, put them into a ...
Benjamin Kovach's user avatar
0 votes
1 answer
59 views

Function code problem

I changed my taxonomy slug from singular to plural ("state" to states"). Ever since then my taxonomy has been broken. It used to say OTHER instead of the state name. Now my urls look like this Domain....
Chris's user avatar
  • 1
-1 votes
1 answer
134 views

Parse error: syntax error, unexpected '$q74ed' (T_VARIABLE)

I'm not a programmer, but now I have a problem with my Wordpress-Site, which I can't figure by my self. I have a white screen and can't look into my wordpress-site. After I activated the Debug-Mode, ...
Mirror .Man's user avatar
-1 votes
1 answer
791 views

How can I extract or parse data from post contents' shortcodes into an array?

I'm migrating from one Visual Page editor to another. I'm extracting the texts surrounded by the shortcode opening and closing tags. Before I write my own parsing script, I wanted to make sure that ...
user658182's user avatar