Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

1
vote
1answer
585 views

Customizing default Mediaelement player

Good morning/afternoon everyone. Been playing around with the default wordpress mediaelement player and definitely loving it. I managed to customize the layout a little by overriding some css values ...
0
votes
0answers
9 views

Blank WordPress//BoldGrid site. Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak?

Where do I start as to not repeat tasks or create conflicts? Is there an order of operations so to speak? I want to be efficient and thorough but keep getting stuck on weird tasks that become mute ...
0
votes
0answers
21 views

Implementing custom post type categories / taxonomy? (theme building)

I'm building my own theme for a small business website. This website has a navbar on top, with a dropdown under "Projects", listing several categories. As of now, I have all of these categories listed ...
-3
votes
0answers
13 views

How to integrating Front-End Submission (EDD) with Visualizer plugin?

I have problem to integrating or enabling the WP Visualizer plugin into Front-End Submission (FES) addon from Easy Digital Downloads (EDD). I'm trying to find out the add-on documentation or forum ...
-3
votes
0answers
24 views

need some wordpress responsive issue help

i need to my blog page responsive with one line but its show three line article post...the css file/tag stay in this php file..here is the code for where i thing need to set medi screen... <...
8
votes
1answer
106 views

Can we use one WordPress installation for multiple databases, domains and content directories

I have seen some questions which look similar, but they all ended up with multisite. For maintainability, performance and security, I don't want to use multisite. So please bear with me. This is what ...
0
votes
0answers
6 views

remove option in variation product woocommerce

Hallo i have remove product option in woocommerce for simply product the option is "subscription" and then i have used this code add_filter('product_type_options', function($product_options) { ...
1
vote
0answers
18 views

Check if the value was set or is it a default value in Customizer with wp.customize API

When you check for a value of an option with: wp.customize.value( 'option_name' )(); You get a value even if it was not yet set. That is, if the theme is loaded the first time and the user hasn't ...
-4
votes
1answer
62 views

WP is easy, The client has to learn it, So what do i offer? [closed]

I am ok with Wordpress functionality, but I am still confused with its business model. After spending some time learning it, I am considering using Wordpress rather than doing everything from scratch ...
1
vote
5answers
3k 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 ...
3
votes
1answer
42 views

How to preserve PHP modifications while upgrading WordPress?

I made a lot of custom modifications in the PHP code of my WordPress blog. Namely in: archive.php, blog.php, footer.php, functions.php, header.php, search.php To provide customized search results, ...
-4
votes
1answer
16 views

ACF select box css color change

i have a trouble with Advanced custom post i try to add select box "K dispozicii is "free" and "Obsazeno" is "occupied" and i need to change colors green for free, red for occupied here is the code ...
0
votes
1answer
151 views

How-to inspect filter-able $vars?

Note: This is more of a tutorial/wiki than a real question and should be a reference for later Questions. If you got something to add, please feel free to add an answer. Working answers get upvoted. :)...
1
vote
0answers
43 views

How to structure model showcase

I need to make a website of models that contain the following components: Model page - model info, editorials of that particular model Editorial page - containing some editorial info, link back to ...
2
votes
2answers
582 views

How to get shortcode working from custom meta field

I've created a simple text custom meta field for pages. I can successfully enter plain text which prints on the frontend of the site with no problem. I want to add shortcodes also. If I add a ...
0
votes
1answer
558 views

Taxonomy Category category.php not working

I have created custom post type, taxonomy and categorys. When viewing the category it seems to be using index.php and ignoring the WordPress template hierarchy. Any ideas why category.php, category-{...
0
votes
1answer
3k views

How Can I limit the visible part of the short-description on the Category page?

How Can I limit the visible part of the 'short description' in the Category Page? I found the code in theme/woocommerce/content-product.php, but whatever I try doesn't do a thing. <?php $...
0
votes
1answer
2k views

Retrieve and display data from custom db table in admin area?

So, i'm having a bit of an issue with a plugin i'm developing, I wonder if anyone can shed any light on the situation, as many, MANY searches have come back with zero help. :-/ Basically, my plugin ...
0
votes
0answers
17 views

Too large translation (.mo) file - localization error

The problem - it is impossible to translae the template. The initial theme has a folder /Language In this folder, only one file - en_EN.po In principle, this should be enough. I have created on its ...
-3
votes
2answers
2k views

Consolidate 'add-to-cart' buttons into one 'add-all-to-cart' button

What I am trying to achieve is to have one add-to-cart button that will add the selected quantity of multiple products, featured on the catalog page, into the basket. Here is an image of what I aim ...
0
votes
0answers
13 views

Will too many overridden css rules lead to performance issues

I am customizing the avada theme for my needs. Since the theme gives many options to style the fronted via its admin panel, I have to write many lines of simple css code for custom elements etc. Based ...
3
votes
2answers
2k views

Customizing gallery shortcode in 3.5

I'm trying to customize the gallery shortcode using the new gallery system in 3.5 and I'm having a bit of trouble and can't figure out where I'm going wrong. This is what I've got at the moment (in ...
-3
votes
0answers
23 views

Add a booking system to website, which can be adjust by customers [closed]

I am already searching a long time for a booking plugin. I found a lot of booking plugins, which do work well, but just the admin can adjust the free timeslots or bookable days. I need a plugin, where ...
1
vote
1answer
671 views

Sort posts by multiple meta key values

I'm not new to wordpress, but I'm not very good at PHP. I hope someone can help me, since I already tried to search for a solution for over 5 hours with no luck. So I have an archive.php page where I ...
1
vote
1answer
1k views

Programmatically add a custom page/path/url/route to WordPress

Conceptually what I want to do is super simple. In my plugin, I want to add a single path/route to my wordpress site: [mysiteurl]/testpath ... that loads a particular file, like: [filepath-to-my-...
56
votes
7answers
34k views

Organizing Code in your WordPress Theme's functions.php File?

The more customization I make to WordPress the more I start thinking about if I should be organizing this file or splitting it up. More specifically, if I have a bunch of custom functions which only ...
-2
votes
0answers
24 views

How to create an inquiry form in Wordpress [closed]

I am currently working on creating tour theme for wordpress. I am looking for ways to create an inquiry form that visitor can submit inquiry. After visitor submit the inquiry, it will - ...
0
votes
0answers
34 views

the_title variable

I have a problem with a wp theme and her reservation function. I had to make some modifications to the theme for add a second page with the "houses" accommodation. Now I have a problem in the ...
-3
votes
1answer
19 views

How to give different user access to different people?

I have a video tutorial website where I have to provide videos. For that purpose I have to give different user access to those who login to particular courses. So can you please help me what is the ...
0
votes
1answer
28 views

Generate custom output for page/URL in a plugin

In my plugin, I want to be able to catch a slug - say 'testpath', as in www.mysite.com/testpath and output whatever I want from my plugin into the page. I in WP Admin I could create a page called '...
0
votes
2answers
574 views

Change Site Logo or Menu Logo Per Page

Background: Conference company with multiple events, on each event page would like to switch out the brand's logo with the event logo along with custom menu for event. Using standard WP install for ...
0
votes
2answers
441 views

Modify Gallery Output to render differently on a PAGE and a POST

I'm still learning Wordpress and slowly getting better, but my skill set is not up to par for the changes I am asking for. I need to customize the gallery output for two sections on my site: 1) ...
0
votes
1answer
24 views

How to display all custom fields associated with a post type - IN THE ADMIN AREA?

I know know how to get all the custom fields from a custom post type, that's easy. However, when I create a custom post type, it displays a beautiful page automatically in the administration part of ...
-1
votes
0answers
10 views

Add custom Navigation and footer in Magazine theme

I am having one website where we have navigation menu and footer are coded in asp.net using jquery. One of the link from this website points to WordPress blog. Now when user comes to wordpress blog I ...
0
votes
2answers
870 views

Set static page as default front page on newly created sites in multisite

How to set a Static page (example Sample Page with every WordPress install) as default fron page for every newly created site on multisite network. I mean when a new user creates a site on my ...
0
votes
2answers
23 views

Change Background Color For CPT Template

Please help. Anyone knows of the proper way how to change the background color for a custom post type template only? Using chrome's inspect, I saw that my theme uses the ID of "#main" for all the page'...
0
votes
0answers
10 views

overriding wp_new_user_notification function

Myself trying to customize the wordpress user registration greeting email by referring this link and my code as follows. function wp_new_user_notification($user_id, $plaintext_pass) { $user = ...
0
votes
0answers
29 views

If user_name empty then message [closed]

If user_name empty then message is sent. Not currently working. $user_id = get_current_user_id(); $first_name=ThemexCore::getUserMeta($user_id, 'first_name'); if(empty($...
0
votes
1answer
808 views

Load more posts with multiple queries

I've been developing a theme which uses the load more ajax plugin, everything is setup and working great with the main query. But, once I setup a new query for popular posts, the load more posts ...
0
votes
3answers
2k views

Pagination not working on Custom Page Template

I searched a lot on this but I can't figure out why my code is not working. I published a page with slug "blog" that uses a custom built template "page-blog.php" that I build from editing the ...
0
votes
0answers
28 views

URL Rewriting on CPT

My website has Custom Post Type and I want to have beautiful URLs but i don't know how to do. Ex: https://www.mywebsite.com/boutique/?countryname=allemagne#!/countries=252 TO BE https://www....
1
vote
1answer
26 views

How to use a hook to override an update_post_meta call in a plugin?

A plugin I'm using contains the following code: $download = array( 'post_title' => $title, 'post_content' => '', 'post_status' => 'publish', '...
0
votes
1answer
532 views

Trying to set specific image dimensions and crop with ACF

My question is about image sizing. I get how to the sizing/cropping stuff natively in WP add_image_size( 'thumb-crazy', 500,500, true); And then in the template type: if ( has_post_thumbnail() ) { ...
0
votes
1answer
37 views

Set a Custom Post Type as a Homepage

Im trying to set up a custom post type single post as a homepage. I have custom plugin, it registers CPT called STACKS, Im using it to build various one page scrolling pages... It has its own custom ...
0
votes
1answer
1k views

How to echo Widget Title in Custom Frontend-Template Box

I've created a custom Widget with the help of following code: // Creating the widget class wpb_widget extends WP_Widget { function __construct() { parent::__construct( // Base ID of ...
0
votes
2answers
492 views

How to create a custom Wordpress front page

I want to create a custom front page for a Wordpress site, which will have an image, some text, an embedded login form, and a metaslider slider, and nothing else (no menu, no sidebar, no footer). ...
1
vote
1answer
427 views

Custom Post Type Rewrite To Include Parent Page(s)

I have a page title "more" with subpage "cities-guide". Said "cities guide" page has a loop that pulls in posts from custom post type "thailife_city_guide". My permalink structure is /%category%/%...
0
votes
1answer
29 views

Child Theme header1.php file not overwriting parent theme's header1.php file

I am trying to add a custom header navigation to a WordPress site using a child theme (I'm using the Alphabet theme). I determined that I am using the header1.php file according to the styling inside ...
0
votes
0answers
20 views

customize exisiting wordpress menu item

For a school project I am trying to manipulate the existing primary menu with a plugin. The result should be: if the plugin is activated, it edits the 'Login' button to be conditional: if something ...
2
votes
1answer
24 views

Is there a filter hook that I can use to change how taxonomy term names are displayed?

I need to hide a custom taxonomy's terms' names on the frontend while preserving them on the backend. Instead of the terms' names I need to display pseudonyms. I can't find a single filter hook to do ...