Skip to main content

Questions tagged [customization]

MEANINGLESS tag. Used as a merge target for other meaningless tags. Do not use it on new questions.

Filter by
Sorted by
Tagged with
0 votes
0 answers
4 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. ...
0 votes
1 answer
12 views

Add a custom field for sorting the products in a specific category WOOCOMMERCE

I’d like to add a custom field for sorting the products in a specific category. I have some products that are visible in different categories and I need that these products will be sort in different ...
0 votes
1 answer
918 views

Wordpress tinyMCE Keep Wrapping <p> Tags To HTML Codes When Saving

Wordpress tinyMCE keep adding <p> tags when I saved my custom post types in visual mode opened! I had searching for many solutions, but not working. Here is the solution that I found, but this ...
0 votes
1 answer
1k views

Can we set a redirection with dynamic content in url?

I need to redirect users to profile page using a single url. Ex: Static link: www.domain.com/profile/ when clicked, www.domain.com/profile/[USERNAME]/ <-- adds username i need to change the [...
0 votes
1 answer
917 views

how to register / add multiple options into one field in wordpress?

How can I register or add multiple options into one field. For example, we save a logo in get_options() by registering the setting and adding fields by add_settings_field() function and we output it ...
3 votes
2 answers
3k views

Display custom post types by date field

I have a custom post type that is simply titles with a date field. I want to display these posts in a list in order of this date field (not date posted). So simply: -- Sample date Event title 1 ...
1 vote
1 answer
4k views

How to get the value of input hidden html from text editor to custom page template?

I have 10 or more input hidden in 10 or more pages with different values in Wordpress text editor and I want to get the value using $_POST in a custom page template. How to do this? I tried to called ...
0 votes
1 answer
1k views

WordPress 404 Images - Images not found after deleted from media

I am trying to develop the website to find images that have been deleted from the media library as they were not needed. These Images that I have deleted have previously been on pages but have been ...
1 vote
1 answer
2k views

Duplicate Custom Post Type and Taxonomy Slug

I've seen a few questions that are very similar, but I haven't been able to get an exact answer, so I'm going to explain my situation here. Quite simply, I need the following url structure: site.com/...
0 votes
1 answer
1k views

register_activation_hook not creating table

As my question is duplicate, I am still stuck in my code, and no solution has been found. I create a function in the plugin to create a table after activating the plugin. But the table is not created ...
0 votes
1 answer
1k views

How to get meta data from custom category name

I want to get meta data by custom post type category name. Right now i am getting all meta data but i want specific for each category $partSql = $wpdb->get_results("SELECT * FROM ".$wpdb->...
1 vote
1 answer
732 views

Hiding taxonomies with no children WP_Query & tax_query

I have this code which has taken over 7 hours to put together through research but the last hours or so I have hit a brick wall! I require the taxonomy title to be hidden if there are no posts ...
1 vote
1 answer
2k views

Send an email to specific adress when button is clicked?

I have created a custom page template with a search function, this search function shows posts, and I want to create a button on each post that when it is clicked will send an email to the author of ...
0 votes
0 answers
14 views

Advanced Custom Fields in WP_Query: Clickable Text in List Format

So I have two ACF fields. A text field author_name and an url field author_link. The url field is intended to wrap around the text field to make the links clickable. The staff member would enter this ...
0 votes
0 answers
21 views

Advanced Custom Fields in WP_Query: Href Returning Empty

I'm still learning the ropes of PHP so please bear with me! So basically I have an ACF URL field "author_link" that I want to generate on a "table of contents" page in a list ...
18 votes
5 answers
38k views

get_the_term_list without links in archive template title tags?

What function will display custom taxonomies associated with a post as text? I'm currently using get_the_term_list which works great for a singular page but not so much when using a taxonomy in the ...
0 votes
1 answer
1k views

Custom CSS for full post vs. excerpt (Content Options)

Is there a way activate "Full Post" via Custom CSS or any other way? Right now I am stuck with Excerpts on the Homepage and my Theme Customizer > is missing Content Options Here below is what my ...
1 vote
1 answer
2k views

Replace shortcode in substring

I've created these two functions to toggle between the first paragraph of the content and then everything but the first paragraph so when the user selects 'More' it slides out the article smoothly ...
1 vote
1 answer
1k views

Moving Quantity after product description

Using woo-commerce I need to place the quantity after the description. Below attached screenshot shows expected output.
1 vote
2 answers
8k views

I am unable to publish/update post

I am running wordpress 4.3 with my custom theme. Everything was going fine but today when i tried to post new article on my blog i notice that when i click on publish button it stuck on loading. I ...
1 vote
1 answer
920 views

Get Custom Logo Alt Text

I'm trying to get the alt text of the custom logo specified in the theme customization. Unfortunately this doesn't work because it seems the alt text is not included in the post meta: $custom_logo_id ...
7 votes
4 answers
10k views

Wordpress hook before inserting post into database

I need to do check the inserted post for certain keywords and perform some functions depending on the keywords found. is there a wordpress hook that executes "just before the post is inserted into ...
0 votes
1 answer
1k views

How to delete/customize imported demo content from a theme or add my own?

I'm new to WordPress. I installed a new theme and there was no content on the page, then I imported demo data, my database got populated with a bunch of content and there are now many different ...
0 votes
1 answer
2k views

How to send email with wp_mail() with from email taken from contact form instead of the host?

I have set up SMTL like this, add_action( "phpmailer_init", "send_smtp_email" ); function send_smtp_email( $phpmailer ) { ini_set("sendmail_from","[email protected]"); ini_set("sendmail_path","xyz@gmail....
0 votes
3 answers
988 views

Is it possible to sync nav menus across multiple wordpress sites?

I was asked by a customer about the possibility to put a menu from a WP installation into another WP, whereas are independent installations, each one for its domain. The point is: I developed a ...
0 votes
0 answers
18 views

Enable Downloads on WordPress Attachment Page

I'm currently working on a WordPress site and need some help with enabling downloads for video attachments on their respective attachment pages. Since the videos are being handled in bulk, I'm using ...
0 votes
2 answers
917 views

Add custom WordPress admin page with pretty url via code

WordPress add_menu_page and add_submenu_page support adding custom page. The page created have url with a slug similar to wp-admin/admin.php?page=our-custom-page How can create a admin page which ...
0 votes
1 answer
712 views

How to limit the number of custom posts certain users can publish in Wordpress using php script?

Background: I tried both https://wordpress.org/plugins/bainternet-posts-creation-limits and https://wordpress.org/plugins/limit-posts/, but they didn't work for some reason with my custom posts. So I ...
0 votes
3 answers
1k views

Change Dashboard menu position?

I am trying to put three menu items before the Dashboard menu item in admin dashboard. Problem is that Dashboard has menu position 2. I can manage to put in two menu items before with position 0 and ...
6 votes
6 answers
7k views

Add separator to admin submenu

I would like to add a separator to the admin submenu section, NOT in the top level section. I'm thinking of using javascript and styling to do the job, but I was wondering if there's a more ...
2 votes
9 answers
11k views

Removing label 'WordPress' from the title bar

Generally on our WordPress blogs, there is a label WordPress displayed in the title bar. Does anybody have an idea on how to hide or remove it? My website is powered by WordPress multisite ...
0 votes
0 answers
17 views

How to get selected variation from URL?

I create my own way of displaying the list of available variants on the product page. I display individual variants on the main page of the store so that when the customer goes to the product page, he ...
1 vote
1 answer
846 views

Deep customization of wp-login.php

I'm developing an intranet platform (so no external web access) and using the Password only login plugin. I need to make a deep customization to the wp-login.php page: the plugin i linked allows ...
0 votes
1 answer
2k views

Remove all link title attributes

After reading this and this, I want to remove the title attribute from all links of my blog, as that is good from accessibility point of view. How this can be achieved? UPDATE I found a solution how ...
1 vote
2 answers
851 views

Search: how to extend the existing search to include a custom table

I created a custom table 'products' with the following field:title,description,url.The items stored into the table are imported. I would like to extends the wordpress search to this table. Is it ...
0 votes
1 answer
984 views

How to get php file based on URL in WordPress

I am trying to edit the home page for the wordpress site but I am not able to find the PHP file. The file should be under the theme file and I have checked almost all the file(which is not the correct ...
0 votes
0 answers
25 views

woocommerce, add free sample button on product page

want to add a secondary button on product page with the name "free sample". it will work just like the add to cart button but with price and quantity override. when somebody click on "...
1 vote
1 answer
723 views

how do I remove the shipping from woocommerce thankyou page and from the email

I've been trying to remove the shipping completely from my woocommerce website. I was able to remove it only from the checkout page and the cart page BUT I want to remove also from the thank you page ...
0 votes
2 answers
1k views

How to use custom footer template in a site-plugin?

I have a site-plugin to centralize most of the theme customization. I want to override the default footer.php template with a customfooter.php (removes the Proudly Powered by WordPress) stored inside ...
0 votes
1 answer
851 views

Merging development site with live site

Earlier this year I built a client a large website for their organization. After that site was finished and live on the web (not on our development server anymore) they wanted the company I work for ...
4 votes
1 answer
2k views

Split content into multiple columns using more tag?

First of, this is pretty much an exact duplicate of: Split columns into three+ divs? But the given solution does not work (returns blank). I'm guessing it collides with qTranslate which adds some ...
0 votes
1 answer
1k views

Wordpress how do I echo SUM from a column of a MySQL table by user id AND type_operation

I have account funds table in wordpress database. Structure like this; Id user_id fund_user type_operation ----------------------------------------------------------- 1 ...
1 vote
1 answer
719 views

Proper after_setup_theme and wp_head cleanup

Im trying to clean up code in my theme a little bit, remove some of the code that is not used and basically do things the right way, to decrease load time etc. Currently I have this code: add_action(...
0 votes
1 answer
162 views

ACF - Tags not showing up in Custom Post Types

I have a tags taxonomy and then I've added it to my CPT, however it does not give me the option to add tags to my CPT now. How do I get it to do that?
1 vote
1 answer
1k views

Removing "There is no account with that username or email address." error message in "/wp-login.php?action=lostpassword"

Would like to find out if there is any way I could customize the wp_login page to remove the "There is no account with that username or email address." validation (show below) and any email/...
1 vote
1 answer
797 views

WordPress customizer Preview not loading

I'm creating a WordPress website, today I have tried to add some new features but I'm not able to add because customizer live preview is not loading I have done some steps Update all theme and plugin ...
0 votes
1 answer
1k views

Extend Woocommerce rest api routes fails

While I'm trying to extend Woocommerce Rest-API routes with a custom one I face the following problem. I have the following class which tries to hook inside Woocommerce API class API_LOADER { ...
1 vote
1 answer
3k views

Custom search to display results within same page

I am using the Easy Digital Downloads plugin to sell my music. I would like to add a custom search form inside the downloads archive page so the results will be displayed on that page. For example, ...
0 votes
1 answer
918 views

Real time notification on user profile after new comment

I am creating a listing website on which i want to notify post author on new comment and notify users on reply of their comment . I want notification on profile page .How I do this? Any help? Thanks ...
0 votes
2 answers
9k views

Wordpress delete cookie

First sorry for my bad english, i'm french. I need to make my website GDPR Friendly, so for this I use the plugin 'RGPD' who give me the possibility to check or uncheck multiples types of cookies. ...

1
2 3 4 5
103