Good afternoon,
I'm having a bit of trouble to remove the following text: By and the brackets before the author's name and the bracket after the date. As in the screenshot below, I already removed the author's name and category.
Screenshot of the example
Looking forward to hearing the feedback
Based on your information, I can't say any more than that you have to look into the plugin it's PHP files. Please provide us more information, yo we can understand your issue way better. Furthermore, you can also hide your object with pure CSS:
<div class="button"></div>
.button {
display:none;
}
Have a look into this: https://www.lifewire.com/display-none-vs-visibility-hidden-3466884
Just go to single.php in your theme and comment out the code there. OR use "Inspect" in browser and add proper styling (display:none) to the class of the corresponding div.
Still stuck, just put the name of the theme you are using.
Related
Need some help with a wordpress theme contact page content.
Am trying to edit it directly from source, it seems to show as a html file. I understand that wordpress runs on php so I've searched quite a number of php files but none include the contents which is showing in the image.
https://imgur.com/a/WlWHz
Read a bit more online and some said that it's saved in the database. Been trying to find it in phpmyadmin too but without much luck. Maybe I'm not looking good enough.
I'm also trying to remove the entire block of code below from the website hakataai.com :
div class="sc_form_address column-1_3"
Please advise if anyone has any ideas.
Many thanks!
You can either search again in your sources because the file is there or you can do one of the following:
1)If you want to remove completelly some content try to use custom css and display: none; your element.
2)If you want to change your content to something else you can also use css (for text purposes i suggest it) and use the :after tag, to display something different on your element.
i.e.: let's say the class you want to change is the sc_form_subtitle:
1) h6.sc_form_subtitle{ display: none;} (will hide the element)
2) h6.sc_form_subtitle::before{ display: none;}
h6.sc_form_subtitle::after{content: " type your text";}
try inspect element on item it will show you the exact place on the code, then go to your filemanager from host view and edit it however you want
I've used a modified themeforest template for a single php page and have an issue where the navigation links that take you to the various unique id's on the page are working fine but cut off the top part of the section h3 that it has linked to.
It's a positioning problem for sure and most likely to do with the modifications I made to the flex-slider that the template included.
But I can't determine how to adjust the css (or script) to correct the issue.
For example, the site is http://goudkamp.stacklaw.com.au/ and when you click Services, you can see what I mean.
I have the template on the site as well so you can see how it SHOULD work - http://goudkamp.stacklaw.com.au/v2/template/.
I came across another article that suggested using the script
if(window.location.hash.length){
$(window).scrollTop($(window).scrollTop() - 100);
}
However, I don't think I should need it when the template works perfectly.
I just don't know where to start looking to make the necessary adjustments.
Please help!
Thanks in advance
Wait - I found it!
After looking at the suggestion on the other article, it made me think that it must be done in the theme's custom scripts. So I looked in the custom.js file for any script that referenced the main nav.
There was an "offset" line with the markup "//use this to position the window exactly where you want". Testing a small change to this had the desired effect.
Thanks anyway.
I sort of feel like a moron for asking this but I've been stumped on this question for about 2 days. On a website I'm trying to put together, http://gravenimage.us/awf/ , the sidebar, which I want to be on the right in the main content area, is showing up at that bottom. I've tried adjusting the max-width, css align, css display, and a bunch of other things. I've gotten the sidebar to move around a little bit but that's it. I'm pretty sure the issue is that the main content is fixed to a certain width, and it's supposed to be flexible for when the sidebar is called, but that's just not happening. Any ideas? I'd really appreciate some assistance.
http://www.gravenimage.us/awf/screenshot.png
Check your page / post copy... make sure to view HTML mode and not the visual mode,
check for any rouge opening or closing div tags that may be there,
when you copy paste content into the visual editor, most of the time any html content will be pasted in there also..
or check the theme /page.php file, looks like the sidebar is being pulled in the content div, messing up the rest of the layout!
check for any instance of...
<?php the_content();?>
<?php get_sidebar();?>
good luck..
Here is an image of my comment format: http://oi40.tinypic.com/8w07jt.jpg
The hyperlink to each individual comment is the date and time with the url in the format of, for example: /nottingham/#comment-184
After going through my comment templates I found that these two functions do the following,
get_comments_link : Retrieves the link to the current post comments
AND
comments_link: Displays the link to the current post comments
The problem is I have no idea where to include these functions so it creates a hyperlink to every comment within every comment. Once this link has been created I'd also like to assign a div to it so I can format it to be in the bottom right corner of each comment.
My final goal is to manipulate the link so rather than the comment link itself it will automatically work in the facebook.com/sharer.php which I feel I can do myself once I figure out the previous part. Essentially it will be a share on facebook button, but I have found no plugins which do this yet and thought describing it as a hyperlink would be an easier way to explain what I'm trying to do.
Elsewhere I've been told the following: but not sure how to implement this...
In functions.php I'd add a 'get_comments_link' filter to return the desired link, including the tag you need. Note that this is a filter, not a function. There is function with the same name, but it's part of WordPress itself. Use the filter to add a div to the existing link. Then style the new div to position it where you want it. I notice that the Photoria theme repositions the Reply link, which is coded at the bottom but displayed at the top. In the same way, your new will be coded at the top but displayed at the bottom. Also see add_filter in the Codex. Add the new div to $link before returning it. The new div will need a class attribute so that you can work with it in CSS to make it look the way you want.
I hope I've made the question clear, please ask if I haven't. Thanks in advance!
You need to edit your comment template in your Wordpress theme.
Default is located in /comments.php
Some more informations could be found here : http://codex.wordpress.org/Function_Reference/comments_template
Finally answered it myself, the code used to display the comment link was:
<img src=""
Which was inserted in my comments template file within my comments body div which I then put into another div so I could format it itself to where I wanted it positioned.
Currently in the process of making the link automatically share through the facebook sharer...
Hope this helps anyone with the same problem.
I have tried removing the title by all the methods I could find on Stackoverflow and wordpress support such as pacing a css rule and finding the get_title in the page, single and template php files. But this title doesn't seem to want to go away.
The only way I have had any success is by using a plugin that removes the title but then I am faced with the problem that the spacing remains where the title once was.
Here is a picture showing what I mean: http://i.imgur.com/vj0vbc7.jpg
Thanks in advance for your help!
You need to go into your template file and remove where the title is being outputted.
I checked the source code on your site and it looks like the theme files are not in the regular place. So do this. Go to your FTP client and open up:
/assets/956/themes/header.php
It might be named something slightly different.
Now within that theme locate your h1 tag. At this point I would recommend removing it, saving it, and making sure you have the desired change. It should be gone completely from the page. If it's not, perhaps the H1 tag is located in another file? Check other template files till you find the right one.
You can remove it all together or surround it in a div with ID='homepg-h1' Then just do a rule like this in your CSS:
#homepg-h1 {
display:none;
}
Hope that helps, let me know if you have any questions.