Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

0
votes
1answer
5 views

how to get title to custom tags page

how to get title to custom tags page ? & how to make if condition like to my taxonamy if ( is_page() ) { the_title(); } elseif ( is_tag() ) { single_tag_title(); } tax: add_action( '...
0
votes
1answer
10 views

Custom Tags Archive - permalinks not working

I need to create Custom tags archive like normal tags in post_type "post". ex: i need this http://sitename.com/mtag/test work like http://sitename.com/tag/test add_action( 'init', '...
-1
votes
0answers
7 views

Custom shortcodes for Events Manager

I've extended Events Manager plugin with a few Custom Attributes for the location, e.g. locationcategories or opening times. Now I want a shortcode for a list of all locations with a specific ...
0
votes
1answer
15 views

Custom Post Type by user

I made a Custom Post Type for events that can be added in the admin by only certain groups of users, like a Secretary. This Secretary can add some new events, but I want to display each user his own ...
0
votes
2answers
29 views

WooCommerce - Adding custom HTML to specific product pages

I'm trying to add some custom HTML to specific WooCommerce products for my client. I successfully learned to add this custom HTML to all product pages at once (more specifically to their descriptions, ...
-3
votes
0answers
12 views

Add Media Button on front end while click on the <a> tag [on hold]

I want to display default wp media button on front end
-1
votes
0answers
16 views

Change category link. Lead it to a specific page

How can I change a link of any shop category in functions.php? I have 4 shop categories. To one of them I need change its href-link, it should go to specific shop page. How can I approach this?
0
votes
1answer
22 views

How do I integrate my Child Theme into a Custom Template?

I started working on this yesterday, and while I was able to successfully load my child theme, some of the site functionality went haywire. I suspect that I may need to add some code to my functions....
0
votes
0answers
10 views

need to load full page on click to Next slide in wordpress

I want to load full page when click to next slide of slider in wordpress. and how can display slide number in page url. plz suggest .
0
votes
1answer
24 views

Page Permalinks: Custom URLs

I'm trying to make URLs that have different "routes", per say. I don't know how to explain it, but on the site I had to move, the owners want it to have different suburl URL directories. Problem is, I ...
-3
votes
0answers
18 views

Disable excerpt in custom theme

I copied the contents of a custom post using this code <?php echo theme_excerpt('50');?> now the problem is that all the contents is not showing since its too many. I tried disabling the ...
0
votes
0answers
18 views

Share certain tables wordpress

I am interested if someone somehow managed to share some tables from database. I have several websites on different domains but same database with multiple table prefix. The domains it's on the same ...
0
votes
0answers
9 views

Custom Navigation Toggle not working?

I'm attempting to add the navigation toggle to my WordPress theme (iTheme's "Herschel" theme, which does not usually have a search function in the navigation/logo header). I've looked through many of ...
-2
votes
0answers
8 views

The main accent in “customize” does not work

Whenever I try to customize my blog, the main accent does not work. I am using the Nuclear theme and I'm updating on the Internet, I did not download anything. The background and everything else works,...
-3
votes
0answers
17 views

OOP help, how to implement custom lookup in my associative array within functions.php

I'm writing a function to execute on a custom action: //############## START OF NON WORKING CODE add_action( 'gform_pre_submission_1', 'myCustomFunction' ); function myCustomFunction( $form ...
-2
votes
0answers
14 views

get_categories - how to replicate with WP_Query?

I have a slider on my front page that makes use of WP_Query and there fore uses the_post etc like this: $feat_query = new WP_Query( $args ); if ($feat_query->have_posts()) : while ($feat_query->...
0
votes
1answer
15 views

Wordpress query posts by custom post type not workng

I'm trying to display the featured images of my custom post type of 'instrument' I created the custom post type using the plugin 'Custom Post Type UI' The query seems to work, but the problem is ...
-3
votes
2answers
26 views

How to hide the logo in wordpress using media query

I have 2 different logo in the WordPress site(light-logo and dark-logo). light logo will be visible when the navbar is transparent and dark logo will be visible when the navbar gets white background. ...
0
votes
1answer
26 views

How do I move my sites to a child theme without loosing customisation?

How can I make my websites that do not use a child theme, to use one, but not loose customisation, such as MENU, WIDGETS, and many other available in the theme at the time of change. This is something ...
0
votes
2answers
18 views

Keyword search in multiple categories

I've spent a day or so on this now and I'm turning to the community for assistance. Firstly, I am trying to achieve something like this post: Wordpress Multiple Category Search In my theme template,...
0
votes
1answer
7 views

Wonderflux Framework Static Homepage

I recently started wp development and am trying to make a website on the Wonderflux framework. Currently, I set the homepage as a static page from the WP admin dashboard. Now I am currently editing ...
-3
votes
0answers
32 views

Create like button from scratch

Would someone kindly give me a pointer on direction to take to create a simple test data unique to each user that can be updated by other user from front end and saved in database. I know it sounds ...
0
votes
0answers
16 views

can I separate two taxonomy (category) loops on one page

I have created a staff and teachers page with custom posts and categories. I currently have them display in an archive-teachers-and-staff.php template with no filter. I am using the date to get the ...
-2
votes
0answers
18 views

ADD JS/HTML in the homepage

I am new to WordPress and haveing some difficulties. I need to add some javascript and HTML to my main homepage. My website is this Go the tab " Book a Cab " And there I need to show my custom form ...
0
votes
0answers
29 views

How to create a global variable in a plugin to use in another plugin

I have a variable in a plugin that stores values ​​to her being fired, these values ​​are entered in the [post_title] but before that he a variable of $post_title_template name plugin and would like ...
0
votes
0answers
8 views

How do i add a post to custom menu?

I am trying to add one of my recent posts to one of my custom menus, i legit just did it but now have forgotten please help. (using mac)
0
votes
0answers
12 views

Add custom field on the page post-new.php

I've made 2 new custom collumns in my MySQL DB in the wp_post table. And i would like to insert there some text which i will take it from a textfield insite post-new.php As far as i can see, i have ...
0
votes
0answers
14 views

Assign different custom fields to different categories when listing

I am currently developing a website for gemstone trade. Every gemstone can be characterized by carat weight, color and so on. The carat weight is a universal standard for every gemstone but not the ...
-2
votes
0answers
16 views

All-in-One Event Calendar: Edit event date to Everyday? or current date?

AI1EC requires a start date and an end date for events. In the case of a yarn shop with an event that repeats daily, I would like to edit the start date to read "Every Day" or possibly pick up the ...
-1
votes
1answer
16 views

Can I get custom post items in select box (dropdown)

I created Custom Post Type. Now I want Custom Post Item in Select Box. Can i display?
0
votes
0answers
5 views

Theme only saving post fields set by the author

I have a theme I'm customizing and every time I try add my own post field (meta data) nothing gets saved yet the fields set by author do. Is there something I'm missing or are there any restrictions ...
0
votes
1answer
31 views

single- and archive- templates not being applied to custom post types, not even after flushing permalinks

As stated in the title, I'm unable to get the archive or single pages of my custom post type to use the correct templates for them. Funny thing is, they worked just fine on my virtual server (WAMP), ...
0
votes
2answers
23 views

Display posts by combining multiple meta key

Basically a post is an event therefor will be displayed once or twice, depending on meta key. Every post has at least two meta keys $start_time_1 and $end_time_1. Let's say i have two posts, title: "...
0
votes
1answer
13 views

Update if post with specific title exists

I am trying to create a post, if it does not exist and update the post by its title if it exists. The title is unique, because its the users username. However, the update functionality does not work. ...
0
votes
0answers
12 views

Getting Custom Attachment Meta Data from Custom Media Manager

I have a custom shortcode button which opens the media manager and allows you to insert an image into the post: (function() { var file_frame; tinymce.create('tinymce.plugins.customButtons', { ...
-1
votes
0answers
15 views

How i can get custom post id using custom taxonomy id?

<?php $pcats = get_terms('pcat'); //print_r($pcat); // echo $pcat = get_the_ID(); exit; foreach ($pcats as $pcat){ echo $pcat->term_id; ...
0
votes
1answer
30 views

Create users via PHP

I'd like to update my users list with some user from a csv file generated by another database (witch i can access too) i'd like to create dynamically a user (with username, password and so on) and ...
0
votes
0answers
26 views

Reorder WordPress Admin Menu - Ignore Plugin Menu Position

I've been working on reordering my admin menu, but I need some help, Currently, I have a plugin active on my site called Clientside, it's a WordPress admin dashboard theme. My issue is that the view ...
0
votes
0answers
29 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
15 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
1answer
82 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
20 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
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 ...
0
votes
1answer
27 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 ...
0
votes
0answers
36 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
21 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
26 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 ...
0
votes
2answers
25 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
17 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 = ...
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', '...