Forum Replies Created

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter WPUser916

    (@wpuser916)

    According to Google, other people have had this problem. Four character Emojis like U+2639 will work fine BUT five character ones like U+1F600 will not work while all work on the other site (which has fewer plugins)…

    I also disabled:

    Otter – Page Builder Blocks & Extensions for Gutenberg

    WP Edit

    Thread Starter WPUser916

    (@wpuser916)

    Hmm security plugins are the same versions on both sites… I can see the Emojis in old published posts, but if I edit them I can’t save/publish them again…

    Thread Starter WPUser916

    (@wpuser916)

    Should I try adding the code to the Customizing Additional CSS box on the customizer rather than the plugin?

    Thread Starter WPUser916

    (@wpuser916)

    1. Ahh, I was supposed to put that code in the Customizing Additional CSS on the Customizer – now its working and looks good! When the theme gets updates installed, will I have to re-enter that line of code in the customizer?
    2. When I input:
    add_filter( 'excerpt_length', function($length){
        // if the post is NOT (!) in the array of categories
        if ( ! in_category( array( '53') ) ) {
            // set excerpt length to 0
            $length = 0;
        }
        return $length;
    });
    
    function new_excerpt_more($more) {
        if ( ! in_category( array( '53') ) ) {
            remove_filter('excerpt_more', 'new_excerpt_more');
            return '';
        }
        return $more;
    }
    add_filter('excerpt_more','new_excerpt_more',11);

    The plugin gives me this error:

    Snippet automatically deactivated due to an error on line 11:

    Cannot redeclare function new_excerpt_more.

    Not a big deal if I can’t show some excerpts though…

    Thread Starter WPUser916

    (@wpuser916)

    1. See https://www.emergingmarketskeptic.com/category/frontier-market-emerging-market-investing-tips/ and the rather wide spacing…
    2. Let’s say I wanted to add that category (and maybe others…) to the code, what would I need to replace ‘category-one’, ‘category-two’ etc with? When I edit the category, the URL contains “category&tag_ID=53” which I assume to be the category’s coded ID (and not how the category name appears on my site)…

    I will probably start another thread as I have some questions on controlling a site’s appearance on mobile (especially the front page where my columns are getting stacked)- once I search more on the forum, documentation etc to see what has been asked or answered….

    Thread Starter WPUser916

    (@wpuser916)

    1. Archive Content Title (H2) does not have a “bottom margin” option wheras the other headings listed do have such an option. When I go to my Categories and Tags, the white space b/w post titles is still pretty large (at least a couple of lines vs, let’s say an RSS feed or the middle column in Real Clear Politics, or Finviz headline lists as examples). It seems like the title, featured image, excerpt have a set block size that expands if the featured image is bigger… Most of my news aggregator type posts that are short summaries of other articles or links to them don’t have a featured image – just my own written stuff usually does…
    2. That worked! Is there any code to make an exception for certain Categories or Tags (to have a post excerpt show…) or is that asking too much from the free version?!! ??

    Otherwise, this has been a big improvement! Cleaner and fast loading…

    Thread Starter WPUser916

    (@wpuser916)

    Thank you so much – Not sure what I was doing wrong before BUT that worked perfectly this time!!!

    I have more or less a static front page of links to relevant resources w/ an RSS feed to certain newsletter posts of mine. Is there also code to do the following in the free version of GeneratePress:

    1. Make the post titles a smaller font and ideally closer to each other in Tags, Categories, Archives, etc?
    2. Eliminate the post blurb-excerpt so just the post title appears? Or maybe have the short SEO description appear instead?

    I want people to be able to quickly scan post titles like with the Real Clear Politics/Markets etc sites, Drudge Report, RSS feeds etc w/o too many distracting graphics or excerpts albeit my own newsletter posts (versus post titles linking to articles on other sites or summaries of them) are the most important…

    Thread Starter WPUser916

    (@wpuser916)

    Sounds complicated though… I see an article titled “How to Link WordPress Post Title to an External URL?” suggesting a plugin called “Page Links to” plugin BUT it has not been updated in a year BUT it has 200,000+ Active Installations… Are you aware of any other plugins that I can check to see if they are updated?

    The article also gives a bunch of code for the “theme’s functions.php file or a site-specific plugin” to create a “Custom fields” meta box or something which sort of makes sense. I guess I can download a plugin to input some of the code into to avoid the risk of messing with the PHP files themselves (or child theme?)… I might change themes back to an original WP one (given they have alot of documentation, flexibility + regular updates) as I can’t seem to get rid of featured images and another minor annoyance w/o going premium – the free theme version may also block plugins like “Page Links to” from working….

    Thread Starter WPUser916

    (@wpuser916)

    “Please delete the Yoast plugin’s folder via FTP and install a fresh copy of the plugin.”

    Do I loose all my SEO descriptions through the years trying to fix this error of theirs?

    Also, there is CLEARLY something wrong with the update – a bug or something….

    Forum: Plugins
    In reply to: [Yoast SEO] Not visible
    WPUser916

    (@wpuser916)

    Basically my question on the forum the other day: I have been using for years – I updated the plugin today and got this error message:

    “the plugin wordpress-seo/wp-seo.php has been deactivated due to an error: Plugin file does not exist.”

    WP Rollback does not work because Yoast is completely gone and when I try to reinstall, I get this error:

    “Installation failed: Destination folder already exists.”

    1) What is the solution to this?
    2) Do I loose all my SEO descriptions through the years trying to fix this error of theirs?

    The whole ad suddenly wasn’t there wheras it was before.

    On the theme I am using, I am having a slight problem in some places with some graphic adsense ads not being aligned properly or rather the right edge appears slightly chopped.

    It could be the display:inline-block code in the sidebar widget but I probably need to run that issue by the theme designer as it could also be the theme’s columns not being aligned wide enough for those block ads.

    Thank you! Putting the Div tags in your plug-in like this:

    <div style="float: left; margin:10px;">
    <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
    <!-- 336 x 280 Large Rectangle -->
    <ins class="adsbygoogle"
         style="display:inline-block;width:336px;height:280px"
         data-ad-client="XXXXXXXXXXXXXXXXXXXXXXXXXX"
         data-ad-slot="1692205348"></ins>
    <script>
    (adsbygoogle = window.adsbygoogle || []).push({});
    </script>
    </div>

    Does get the ad to display correctly if I remove my now bad code and just put [Adsense-C] in the post or page.

    Also, it looks like removing the <!– and –> gets the ad to display and display correctly BUT I will need to go through every post/page to remove that.

    What do you mean by “display:inline-block;. In your example it looks like you are trying to use display:block;”??? I probably should fix that as well if its a problem.

    I am not sure where I got my line of code as usually I google what I want to do to find appropriate code since I am not a programmer! I hope I don’t have other lines of code go bad….

    My DIV codes have stopped working as I have the following line of code on most pages and posts:

    <div style=”display: block; float: left; margin: 10px 10px 10px 10px;”><!–[AdSense-B] –></div>

    Its STOPPED working in all browsers. Its suppose to align the adsense box to the right or left of the post/page text.

    I don’t know when it happened or why as I have not looked at my site closely for some weeks while traveling.

    How do I fix this WITHOUT having to recode hundreds of pages and posts???

    Why would it just stop working? I DON’T want to recode everything only to have that stop working for no apparent reason in the future…

Viewing 13 replies - 1 through 13 (of 13 total)