Modifications to theme and plugin files to create new functionality.

learn more… | top users | synonyms (17)

1
vote
3answers
49 views

Add code inside specific wordpress standard function

Is it possible to add a piece of code snippets inside wordpress standard function ? In my case I am developing a plugin that will trace the exact location of the caller of wp_delete_attachment method ...
0
votes
0answers
29 views

Is this possible with Wordpress it's rewriterules

I'm aiming at creating my own plugin but i'm having some troubles figuring out with the rewriting and so on. What i'm trying to build is that my client(s) can created their own "Vehicles". Well that ...
-1
votes
0answers
37 views

How To Create Custom Taxonomy For BuddyPress Activity

I want to create custom taxonomy for buddypress activity post type so admin can categorize activity posts like assigning categories to standard Post type. I can not find any tutorial / article or ...
0
votes
1answer
48 views

Removing comma from 'entry-date' in Twenty-Sixteen theme

I would like to remove the comma persent in the entry-date in the entry footer of Twent-Sixteen theme for styling purposes. (Month-Date, 2016) Looks like the date is coming from the function below. ...
0
votes
2answers
35 views

Admin menu disable new/delete page

So I've been tinkering with the admin roles and I can't seem to be able to revoke create page rights for the admin. I can only find 'Edit page'. If I remove Edit page, the entire pages tab goes away(...
0
votes
0answers
26 views

Custom Post Type - multiple in single menu position

I currently have a couple of 'Custom posts types'. Currently, each of them has a separate item on the menu but I would like to add them all as sub for one position. I have somethink like this: Movies ...
0
votes
1answer
30 views

Display value of custom field at the beginning of a post

I've been using the subtitles plugin to display a teaser text to my posts right underneath the title (which is named _subtitle, and stored in the post's meta). How do I display this value at the ...
0
votes
0answers
7 views

Integrate a gallery with thumbnail inside a div with custom field

I have a tough problem. I created in wordpress template, a portfolio page. When you click on a project picture, a new div opened with other project's pictures. But I would like that my picture are ...
0
votes
1answer
31 views

Displaying a custom post type using get_template_part into a specific layout

I am new to wordpress custom themes and am trying to recreate this website (http://www.divecarib.com/) as practice. I am trying to find the correct way to achieve the following: I have created a ...
0
votes
0answers
61 views

Output Video Download Link in template

I have a website that uses a "video" custom post type to display self hosted videos in post. I am trying to figure out how to make a download link for each video that uses this "video" custom post ...
0
votes
0answers
26 views

Custom post type category copies posts from “Posts”

I'm creating a custom post type and added function pricing_init() { $args = array( 'label' => 'Price Tables', 'public' => true, 'taxonomies' => array('category'), ..... And ...
0
votes
0answers
40 views

Get ORIGINAL image links from get_post_gallery

I use get_post_gallery( WP_Post, false ) to get gallery data because I build gallery HTML myself. However strangely it only gives list of ID's and list of thumb-urls. What is the best way to ...
0
votes
1answer
54 views

Wordpress Install - “end of script output before headers” when running simple php script

I have a multi-site Wordpress installation for a client, and for one of the forms I need to do some manual database interaction as the feature is separate. The problem I'm having however, is that any ...
0
votes
0answers
24 views

Unhook (or remove) Sidekick Customizer Option using a function

How do I remove / disable / hide the "Click for Help" Sidekick Drawer? I'm reading over the codex and I just don't see anything relevent between this and the plugin. I downloaded the plugin, start ...
-1
votes
1answer
28 views

Child Plugin Admin Panel

So I've installed wp-mail-bank plugin and I want to customize certain part of them core. So I choose to use Hooks : location : /wp-mail-bank.php function backend_plugin_css_scripts_mail_bank() ...
0
votes
0answers
20 views

List all post from different post type on one page by CPT UI

I am a php begginer. I am using CPT UI plugin for one of my projects - free resources for designers. The idea is to have different pages for different type of resources. So I will create different ...
0
votes
3answers
95 views

Custom search for custom post meta with pre_get_posts interferes with WP search

I'm making a custom post meta search with the pre_get_posts function in my Divi child theme functions.php file. The problem is that the final query gathers not only the results for my custom post ...
0
votes
1answer
17 views

Showing different pages depending on a cookie value

I have a website that asks the visitors to choose a language on the first page, I store the option in a cookie and I am showing the content (starting with second page) depending on this option. I ...
0
votes
2answers
35 views

How to request container_class from wp_nav_menu

I'm currently trying to setup a custom nav walker that will use container_class from the menu as a prefix for the class names of the list items and children. $defaults = array( 'menu' =>...
0
votes
2answers
35 views

Custom link for wp_insert_post

Is there any way to add a custom URL to the wp_insert_post function? $my_post = array( 'post_title' => wp_strip_all_tags( $_POST['post_title'] ), 'post_content' => $_POST['...
-3
votes
1answer
20 views

How remove “recent comments” title without modifying code? [closed]

How remove "recent comments" title without modifying code? I have already disabled comments and do not wish to see that title.
0
votes
0answers
25 views

Addressing Child Page from Custom Menu

I build the website of an association with centers in different cities. Each city's pages need their own sidebar. I want to program an automated solution where the editors dont need to select anything....
0
votes
1answer
46 views

Why isn't my custom Javascript showing up in my custom template?

I'm in the process of converting an HTML homepage to WordPress format and I'm not sure what to do with the Javascript that's included within the of the index.html homepage (as opposed to the JS ...
1
vote
2answers
103 views

How can i remove the sitename or homepage title from all page titles?

After switching to a different wordpress theme, Google started adding a sitename to ALL page titles in the search results. example "Page title - Sitename" Even when leaving the sitename area Blank , ...
0
votes
0answers
33 views

Cutsom post type and Taxonomy page

I have created a custom post type name 'products' and custom taxonomy called 'product_catagory'. The posts are displayed correctly and so is the archive-products.php archive template page I created. ...
0
votes
0answers
35 views

Flexslider+Vimeo APi in WP

I created a custom post type using flexslider. It supports video (vimeo/youtube) and images. It works but I need to add the vimeo api (froogaloop) because I need: The video to automatically stop ...
0
votes
1answer
69 views

WordPress Customizer Help with FontAwesome Icon

Here's the scenario - I want to select fontawesome icons from the dropdown list but it's not working. For some reason the class inside span is not adding up (I have tried jQuery().append(), CSS) but ...
0
votes
0answers
25 views

Plugin Modifications

I have downloaded a plugin form the WordPress site and i need it for my needs I have added a custom metabox and a Check box to the WordPress post page function save_custom_meta_box($post_id, $post, $...
0
votes
2answers
34 views

One Post with different content, depending on a Page

My goal is to make a user manual WP site for the web app that my company is selling. My issue is that the web app has some differences in functionality for different clients. For example, we have a ...
1
vote
0answers
21 views

Login/Logout Session Sharing - Multiple Wordpress Installations

I am on Wordpress 4.4.2, I have multiple wordpress installations (Not Multisite) 1st Installation :- www.example.com 2nd installation :- www.example.com/blog/ I have pasted this in my Wp-Config ...
0
votes
1answer
39 views

Display Powerpress media url

I am trying to display the url of a media file in a template. I ran across this post: https://wordpress.org/support/topic/get-media-url-only, but when I add that to my template (in the loop as it says)...
1
vote
1answer
40 views

Custom category order with get_categories

I have a site with metro_creativex theme with side menu that displays categories in an alphabetic order. Now I need to sort them by my own order (that's not alphabetical reverse or by id) and, since ...
0
votes
2answers
93 views

Pagination Not working on Home Page with 2 Query

I have two loops in home page (index.php) <?php $args = array( 'post_type' => 'post', 'posts_per_page' => 3, ); $another_query = new WP_Query($args); if( $...
0
votes
0answers
70 views

image_send_to_editor filter

I'm trying to achieve the code below, when using the normal default editor in wordpress. <div class="col-md-6"> <figure> <img class="alignright" src="/wp-content/themes/tna-...
0
votes
2answers
93 views

Displaying theme options in css

I am literally pulling my hair out trying to figure this out. I have been at it for almost 12 hours now. Being new to PHP and theme development I am having a hard time understanding how to get ...
0
votes
1answer
52 views

Creating widget - ask for selecting a post in the admin panel

First of all, sorry for my English, I'll try to make it understandable. I'm new on WordPress; I already have created a few plugins but they didn't needed admin configuration. Now I'd like to make an ...
0
votes
1answer
79 views

How to add span on WordPress Title for first and third word

I need to know how to add a span to title post, not only for 1 word, but 2 or 3 words as I need. For example I have a normal title like this: Lorem ipsum dolor sitamet consectetur adipiscing I ...
0
votes
0answers
45 views

Help needed with Wordpress Function/Loop please

I mostly come from a Front End/Design background and have built a few sites in Genesis/Wordpress but I am now delving into the world of making Custom Posts and pages through using a variety of ...
0
votes
1answer
106 views

Hide content and functions from specific user roles

I'm working on a theme and i am wondering how i can hide specific content and functions from certain user roles via PHP. I am working with a lot of prebuilt functions so what i am after is some code ...
0
votes
0answers
22 views

Multiple Custom Post Type loop logic

In short this is what I want to archive: [template body] - default post title - default post body [custom loop | tabs] - tab 1 -- tab 1 title -- tab 1 content --- related articles to tab 1 by ...
0
votes
0answers
16 views

How to create some “theme settings” page in admin?

I'm using today some PHP constants in my functions.php to define default info about my company, as follows: define('COPYRIGHT', 'copyright_text'); define('CONTACT_EMAIL', 'oi [arroba] studiosolo.net')...
0
votes
1answer
61 views

Advanced Custom Fields: Sorting custom columns with custom fields sorts only by date

I have a custom post type – “members”. With help of Advanced Custom Fields(AFC) I’ve created a Field Group with 5 fields and assigned that group to my “members” post type. I followed this article to ...
-4
votes
1answer
30 views

How to remove the intro animation which appears during the load up of some Wordpress themes? [closed]

How do you find and delete the code which makes the loading animation at the very start of every page on many wordpress sites appear? Sometimes the animation is a simple loading wheel gif image and ...
-1
votes
1answer
33 views

Advise on Custom Taxonomies and Structure

I am building a sporting website with the following structure Categories Events (Like Superbowl 2017) Deals (Posts like "Fly to USA to Watch Superbowl for $1000" etc) News (Posts like "Sanfransisco ...
0
votes
0answers
31 views

Pagination custom post type & custom taxonomy

I'm having a problem with my pagination for the category page of my custom taxonomy. This page displays custom post types on the first page of the category. But when I try to go to the second page, it ...
1
vote
1answer
95 views

How to Get WordPress custom post data in WooCommerce product meta panel?

I have created one custom post in WordPress and also created one custom panel in Woocommerce product attribute panel. Now, How I can display all the content of WordPress custom post into the ...
0
votes
1answer
51 views

Show different pages on site depending on user choice

I am building now a Wordpress site that has a automatic opened popup on the first page which gives the users the possibility to choose between 2 options (ex if they are private customers or company ...
0
votes
1answer
10 views

Is there a way to limit multi upload in media upload box?

What I'm trying to learn is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload only one file when clicks on upload button. Instead of completely removing ...
0
votes
0answers
24 views

How to add comments on a custom page with URL parameter?

I tried to look for this for several days but I can't find anything. Maybe I'm not using the good "words" so I hope someone we'll guide me in the right way. I am building a custom page with a list of ...
0
votes
0answers
8 views

How to limit upload count once per session?

I'm trying to create multi vendor marketplace, What I need to know is to remove multiple upload (and drag&drop). I want a user (vendor) should be able to upload one file. Instead of completely ...