Questions tagged [references]
The references tag has no usage guidance.
23 questions
0
votes
0
answers
13
views
After post URL change also automatically change references in posts to that new URL?
After I change the URL of a post there is an automatic redirection AND also some references (aka links) to the old URL are changed to point to the new URL automatically.
For example this automatic ...
0
votes
0
answers
12
views
Link from outside website or another page to a text widget title
I have a conference theme running on Wordpress, in the main page which is named as FrontPage, I need to add a link in the menu bar to one of the text widgets on the page.
I do not know how to target a ...
1
vote
1
answer
338
views
Modify a Filters Second Parameter
I have this filter:
$post_arr = apply_filters('insert_product_post_data', $post_arr, $data);
add_filter('insert_product_post_data', 'my_filter', 10, 2);
function my_filter($post_arr, $data) {
//...
7
votes
2
answers
1k
views
Is there a list / reference for all current native WordPress blocks?
I'm working on a theme that should style all native WordPress blocks via CSS, including potentially extending them with custom 'style' options in the block editor via JS. Does anyone know of a list or ...
0
votes
0
answers
497
views
How to check from which page the user is coming to the current page?
Is there a way of doing this with WordPress aside from using $_SERVER['HTTP_REFERER']?
Maybe something like a blend of $_SERVER['HTTP_REFERER'] and is_category(). Something like,
came_from_category( ...
0
votes
0
answers
36
views
Javascript inserted from Plugin pointing to wrong location
This has happened time and time again on multiple sites. When it happens, it forces me to start with a fresh install of WordPress to get around it.
The most recent example is on the WP Forms Lite ...
0
votes
1
answer
60
views
How best to store data (URLs and IDs) extracted from posts and pages using custom taxonomies
I want to store metadata extracted from post/page content:
IDs of other posts/pages on the same blog linked within the content of each post/page
certain external URLs contained within the content of ...
0
votes
1
answer
23
views
detect referr page
I made custom template to randomly redirect users to posts with specific args
I need to know if users reach the post from this page link or from another one
I tried
wp_get_referer();
but it's get ...
0
votes
1
answer
142
views
How to use page jumps to top of banner and page title?
I've tried using page jumps as instructed by countless websites to "jump to the top of my page":
Source code followed by destination code:
<a href="top_page">LINK TEXT HERE</a>
<a id=...
0
votes
1
answer
629
views
What is the better for call files: bloginfo() or echo esc_url()?
Using the Theme Check for test the quality of my theme, it return my theme is using the bloginfo(); Ex: <img src="<?php bloginfo('template_url'); ?>/static/img/logo.svg"
The Theme Check ...
0
votes
1
answer
278
views
Send contact form to a specific referrer-email adres
My objective is to have a form that can be send to different email adresses, depending on the referrer.
For example:
If someone would share this link: www.example.com/form/referrer1
The form should ...
3
votes
1
answer
11k
views
Previous page or reffer url in worpress
Is there any method to get the previous page /refer page url in wordpress.
In my wordpress site there is a paypal form it include return url . So after payment complete it come back to the site. Now ...
0
votes
1
answer
41
views
How can I include a file related to blog URL? Nothing seems to work
When I was building my website locally using WAMP, I was just using simple
include '/extras/file.php';
Of course, that would start at the root folder, and look in the extras folder. However, now I'm ...
0
votes
1
answer
103
views
Update references to pictures on website after moving to new URL
I moved my wordpress website to a new URL on the same server and managed to update most DB entries with the Velvet Blues Update URLs plugin. But the paths to my pictures, which are being used by the ...
0
votes
1
answer
253
views
Is there a way to direct unregistered user to registration page when click a link?
everyone:
this question seems pretty commmon to ask, but I did not find any answer.
I was wondering, if there is a php function that I could use to direct a user to the site's registartion page, so ...
0
votes
3
answers
89
views
Is there a list of all display functions for templates? [closed]
I am going to write my own post display thing, and I cannot find a list of all these type of functions:
the_date();
the_title();
the_excerpt();
I'm sure there are more, but where can I find a ...
1
vote
2
answers
2k
views
Plugin for wikipedia style references in WP?
I find inline links offputting to read so want to use wikipedia style foot-of-article references with incremental numeric linking to the external link reference.
I can just stick the HTML in but on ...
4
votes
1
answer
336
views
Why, Where, and When to use reference pointers in filters/hooks?
Why, Where, and When to use reference pointers in filters/hooks? What are the potential cons of not using them when suggested or required? Just looking for a more detailed answer than the codex ...
1
vote
2
answers
3k
views
List of Body Classes Generated by body_class()
Does anyone know where I can get a list of all the body classes generated by body_class() for every sections and every conditions, including custom post-types, etc.?
For example, for a search result ...
1
vote
2
answers
69
views
Need resource on available functions and objects
I am a programmer, and love jQuery. Visual jQuery and other resources is THE best place to get all the code/function et get your hand dirty...
But when it come to WordPress.. the code is too thin or ...
5
votes
5
answers
2k
views
WordPress training materials
Are there any good publicly-available WordPress training materials (videos, manuals, etc.) that could be used to give content editors a basic overview of WordPress?
We have a handful of blogs on a ...
4
votes
2
answers
18k
views
Changing the visible url path to css & js files
Does anyone happen to know how I can automatically turn:
http://www.example.com/wp-content/themes/theme-name/css/stylesheeet.css
into
http://www.example.com/css/stylesheet.css
Naturally I could ...
6
votes
7
answers
225
views
I'm looking for some good references (manuals)
I started a blog recently. Currently I'm using a free theme and some plugins that are working well enough for now. And, my overall goal is to produce content and not become a WordPress developer, etc.
...